-
Notifications
You must be signed in to change notification settings - Fork 17
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
Vytvorit input na rodne cislo #101
Comments
Dobry napad. Dokonca sme to uz par krat aj potrebovali. Za mna go. |
Z UX pohladu navrhujem z toho spravit type number aby tam ludia nepisali nic ine ako cislo (plus to ukazalo iba cisla na virtualnej klavesnici) a lomitko sa tam prida automaticky ked tam bude napisanych 6 znakoch. |
Zatial som implementoval rodne cislo iba ako hint, ktory interne vymazava lomitko. (PR #102 ) Napriklad ludia z cudzich krajin alebo ludia narodeni pred rokom 1954 kedy sa menil format RC, ti mozno mozu pouzit rovnake formulare ako v beznom pripade len zadaju namiesto RC nieco ine co uz uradnici vedia spracovat, preto teraz input iba upozorni na to, ze RC nie je v standardnom formate. To aby sa defaultne otvarala ciselna klavesnica asi dava zmysel. |
Moj nazor je, ze spravme input s tymito validaciami
S tym, ze clovek moze zadat rodne cislo s lomitkom aj bez lomitka. Ostatne validacie by som nateraz vynechal a zaroven podla mna mozeme nateraz vynechat edge cases. |
Rodne cislo ma aj jemnu validaciu zabudovanu, takze mozno by dalo zmysel urobit komponent ktory bude vpodstate text input, ale bude mat hint o tom ze si asi urobil preklep
The text was updated successfully, but these errors were encountered: