-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Allow decimal inputs for number fields #237
Allow decimal inputs for number fields #237
Conversation
@fetwar do you mind re-wording your commit message to read like: |
No problem, will do |
526bcc8
to
ccc0b53
Compare
@danielo515 I have pushed the commit message amendment, no content changes from the PR previously. ... just realised I used a capital letter and you didn't in your advised PR message. If this is an issue let me know and I will amend again lol |
Thank you @fetwar |
Bugfix for #186
Sets the HTML input property
step
toany
when field type isnumber
- allowing non-whole numbers to be input.This aligns the frontend visual feedback to the user with the backend validation, which would previously let inputs through, but apply CSS rules for invalid input.
Would be nice to have this configurable in the modal form editor as a future enhancement, along with
min
andmax
attributes.