You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add type attribute which accept ‘text’ and ‘number’
depending on type only respective inputs are allowed (type == text: All input allowed, type == number: only numbers are accepted, if text is tried to enter nothing changes).
Add flag acceptComma that is only used when type == ‘number’ that determines if the textfield accepts comma instead of dot (123.456 or 123,456). If acceptComma == true only comma is accepted and displayed as seperator, no a dot. It should only be possible to enter one seperator. No other separators (like per thousand comma).
Numbers written into the textfield via API / code should be parsed accordingly.
The text was updated successfully, but these errors were encountered:
Additions to
GOWN.TextInput
type
attribute which accept ‘text’ and ‘number’acceptComma
that is only used when type == ‘number’ that determines if the textfield accepts comma instead of dot (123.456 or 123,456). If acceptComma == true only comma is accepted and displayed as seperator, no a dot. It should only be possible to enter one seperator. No other separators (like per thousand comma).The text was updated successfully, but these errors were encountered: