Tests

Localized Input

Localization issues

How are values rendered in the INPUT field ?

 

What values can the user enter ?

Depending on (1) supported keyboard on mobile devices and (2) form validation rules applied.

 

How are values sent to the server ?

And what are the model binding rules there, to interpret the values correctly ?

 

Notes

  • To support decimals, the INPUT must have an attribute STEP="0.01" (for 2 decimals) or STEP="any"
  • Negative numbers: they should work but mobile devices may not show them on the keyboard
    consider adding a ± button to add or remove a "-" sign on front
  • ...

Some resources

Test form

Working demo
Loading demo...
Loading...