Closed fetwar closed 4 months ago
@fetwar do you mind re-wording your commit message to read like:
fix: allow decimal inputs for number fields
That is the only way the automatic deploy and changelog will pick it up.
No problem, will do
@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 https://github.com/danielo515/obsidian-modal-form/issues/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.