Improve number input field validation (#3257)
Fixes #3213 Fixes #3194 - Allow the user to enter any input - Display instant feedback if the input is not a valid number. It uses alpine and `isNaN` javascript function for validation Also, move alpine to be included in both public and apply site; forms right now doesn't use `base_apply.html`
parent
c0bf4a4a
No related branches found
No related tags found
Showing
- hypha/static_src/src/sass/apply/components/_form.scss 5 additions, 0 deletionshypha/static_src/src/sass/apply/components/_form.scss
- hypha/static_src/src/sass/public/components/_form.scss 5 additions, 0 deletionshypha/static_src/src/sass/public/components/_form.scss
- hypha/templates/base-apply.html 2 additions, 2 deletionshypha/templates/base-apply.html
- hypha/templates/base.html 6 additions, 0 deletionshypha/templates/base.html
- hypha/templates/django/forms/widgets/number.html 23 additions, 0 deletionshypha/templates/django/forms/widgets/number.html
Loading
Please register or sign in to comment