-
Bug
-
Resolution: Fixed
-
Normal
-
6.5.8.1, 9.5.0.2
-
Chrome 88.0.4324.93 / Android 7.1.2
iPad
-
None
Steps to Reproduce
<zk> <zscript> Sessions.getCurrent().setAttribute("px_preferred_locale", new Locale("de","DE")); </zscript> <div>Change browser locale to Germany for this test case.</div> <div>You should see the values in each input element "0,5" not "5".</div> <div> <doublebox id="db1" value="0.5" constraint="no negative"/> <doublespinner id="db2" value="0.5" constraint="no negative"/> <decimalbox id="db3" value="0.5" constraint="no negative"/> </div> </zk>
Run in any mobile browser (for example, Android Chrome)
Current Result
No value in every textbox
Expected Result
"0,5" is presented
Debug Information
Only in mobile.
No issue in the en-US locale.
DevTools warning message: the specified value "0,5" cannot be parsed, or is out of range.
Workaround
Apply locale="de_DE" in each textbox instead.
- is duplicated by
-
ZK-4815 Doublebox value disappeared in de_DE mobile devices
- Closed