diff --git a/src/FormModal.ts b/src/FormModal.ts index e17c421a..6c5a421a 100644 --- a/src/FormModal.ts +++ b/src/FormModal.ts @@ -107,6 +107,7 @@ export class FormModal extends Modal { case "number": return fieldBase.addText((text) => { text.inputEl.type = "number"; + text.inputEl.step = "any"; subToErrors(text.inputEl); text.onChange((val) => { if (val !== "") {