Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internationalization of text-input #102

Open
4 tasks
marfri opened this issue Apr 10, 2017 · 0 comments
Open
4 tasks

Internationalization of text-input #102

marfri opened this issue Apr 10, 2017 · 0 comments

Comments

@marfri
Copy link
Collaborator

marfri commented Apr 10, 2017

Additions to GOWN.TextInput

  • 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant