The aim of setInitialInputMode("IS_LATIN_DIGITS") is transform the data entry of the TextBox for example to digits. Even the TextBox is TextField.ANY.
So, sometimes setInitialInputMode("IS_LATIN_DIGITS") is not converting the data entry to digits , it leaves the mobile to its default status such as alphanumeric..so does anyone have any recommendation...
IMHO setInitialInputMode(characterSubset) sets a hint, not a requirement as how the input mode should be used when the user initiates editing. If a subset is not supported by the platform, the default one will be used.
Should you try the TextField.DECIMAL or TextField.NUMERIC with the mentioned character subset?
The constructor for TextBox is TextBox(String title, String text, int maxSize, int constraints), where the constraints integer might be the TextField.NUMERIC, TextField.DECIMAL, etc. Or simply use the setConstraints(int constraints) method to do the same things.