Hi,
I have a Shapes form that contains a two-character shape code and a one-character search code.
The shape code must be two uppercase letters so I've set the defaultFormat in the dbi file to UU.
The search code must be an uppercase letter or empty. I set defaultFormat to U.
When I run a form that displays the shapes in a grid I get this message in the Console 7 times:
WARN org.sablo.BrowserConsole - 16:45:30 WARN DataGrid - input string not corresponding to format : , U
7 of the rows displayed have an empty search code.
If I start add a new row I get all the stuff shown below in the Console.
Moving the format codes from the dbi to the detail form gives similar error messages when a new record is added.
Two questions.
Does anyone know how I can stop these messages appearing?
How do I enter a format that forces the search code to upper case but allows it to be empty?
Thanks
John
WARN org.sablo.BrowserConsole - 16:53:40 WARN DataGrid - input string not corresponding to format : , UU
WARN org.sablo.BrowserConsole - 16:53:40 WARN DataGrid - input string not corresponding to format : , U
WARN org.sablo.BrowserConsole - 16:53:40 WARN DataGrid - input string not corresponding to format : , U
WARN org.sablo.BrowserConsole - 16:53:40 WARN DataGrid - input string not corresponding to format : , U
WARN org.sablo.BrowserConsole - 16:53:40 WARN DataGrid - input string not corresponding to format : , U
WARN org.sablo.BrowserConsole - 16:53:40 WARN DataGrid - input string not corresponding to format : , U
WARN org.sablo.BrowserConsole - 16:53:40 WARN DataGrid - input string not corresponding to format : , U
WARN org.sablo.BrowserConsole - 16:53:40 WARN DataGrid - input string not corresponding to format : , U
WARN org.sablo.BrowserConsole - 16:53:40 WARN DataGrid - input string not corresponding to format : , U
ERROR org.sablo.BrowserConsole - 16:53:41 ERROR formatdirective - input string not corresponding to format : , U
at _SabloService.buildStackMessage (http://localhost:8183/chunk-75WVMXZK.js:26142:15)
at Object.apply (http://localhost:8183/chunk-75WVMXZK.js:25972:36)
at _FormatDirective.writeValue (http://localhost:8183/chunk-75WVMXZK.js:21566:20)
at _ServoyBootstrapTextbox.setInputType (http://localhost:8183/chunk-75WVMXZK.js:148822:24)
at _ServoyBootstrapTextbox.svyOnChanges (http://localhost:8183/chunk-75WVMXZK.js:148798:12)
at _ServoyBootstrapTextbox.ngAfterViewInit (http://localhost:8183/chunk-75WVMXZK.js:19272:12)
at callHookInternal (http://localhost:8183/chunk-YBOT7UYS.js:6150:10)
at callHook (http://localhost:8183/chunk-YBOT7UYS.js:6165:7)
at callHooks (http://localhost:8183/chunk-YBOT7UYS.js:6139:9)
at executeInitAndCheckHooks (http://localhost:8183/chunk-YBOT7UYS.js:6108:5)
ERROR org.sablo.BrowserConsole - 16:53:41 ERROR formatdirective - input string not corresponding to format : , UU
at _SabloService.buildStackMessage (http://localhost:8183/chunk-75WVMXZK.js:26142:15)
at Object.apply (http://localhost:8183/chunk-75WVMXZK.js:25972:36)
at _FormatDirective.writeValue (http://localhost:8183/chunk-75WVMXZK.js:21566:20)
at _ServoyBootstrapTextbox.setInputType (http://localhost:8183/chunk-75WVMXZK.js:148822:24)
at _ServoyBootstrapTextbox.svyOnChanges (http://localhost:8183/chunk-75WVMXZK.js:148798:12)
at _ServoyBootstrapTextbox.ngAfterViewInit (http://localhost:8183/chunk-75WVMXZK.js:19272:12)
at callHookInternal (http://localhost:8183/chunk-YBOT7UYS.js:6150:10)
at callHook (http://localhost:8183/chunk-YBOT7UYS.js:6165:7)
at callHooks (http://localhost:8183/chunk-YBOT7UYS.js:6139:9)
at executeInitAndCheckHooks (http://localhost:8183/chunk-YBOT7UYS.js:6108:5)
ERROR org.sablo.BrowserConsole - 16:53:41 ERROR formatdirective - input string not corresponding to format : , U
at _SabloService.buildStackMessage (http://localhost:8183/chunk-75WVMXZK.js:26142:15)
at Object.apply (http://localhost:8183/chunk-75WVMXZK.js:25972:36)
at _FormatDirective.writeValue (http://localhost:8183/chunk-75WVMXZK.js:21566:20)
at onChange (http://localhost:8183/chunk-YBOT7UYS.js:31569:23)
at http://localhost:8183/chunk-YBOT7UYS.js:31975:44
at Array.forEach (<anonymous>)
at FormControl2.setValue (http://localhost:8183/chunk-YBOT7UYS.js:31975:22)
at http://localhost:8183/chunk-YBOT7UYS.js:32336:20
at _ZoneDelegate.invoke (http://localhost:8183/polyfills.js:10478:158)
at Object.onInvoke (http://localhost:8183/chunk-YBOT7UYS.js:11385:25)
ERROR org.sablo.BrowserConsole - 16:53:41 ERROR formatdirective - input string not corresponding to format : , UU
at _SabloService.buildStackMessage (http://localhost:8183/chunk-75WVMXZK.js:26142:15)
at Object.apply (http://localhost:8183/chunk-75WVMXZK.js:25972:36)
at _FormatDirective.writeValue (http://localhost:8183/chunk-75WVMXZK.js:21566:20)
at onChange (http://localhost:8183/chunk-YBOT7UYS.js:31569:23)
at http://localhost:8183/chunk-YBOT7UYS.js:31975:44
at Array.forEach (<anonymous>)
at FormControl2.setValue (http://localhost:8183/chunk-YBOT7UYS.js:31975:22)
at http://localhost:8183/chunk-YBOT7UYS.js:32336:20
at _ZoneDelegate.invoke (http://localhost:8183/polyfills.js:10478:158)
at Object.onInvoke (http://localhost:8183/chunk-YBOT7UYS.js:11385:25)