Just-validate icon indicating copy to clipboard operation
Just-validate copied to clipboard

Can't accept input type different from "text"

Open saiballo opened this issue 1 year ago • 0 comments

If I use an input type "number" with this validation rules:

.addField("#myinput", [ { "rule": "required", }, { "rule": "number" } ],

the rule "number" does not work. If I try to insert "abc" the error message is "input required" and not "only numbers allowed"

If I change type number in text all runs smoothly

saiballo avatar Oct 11 '24 10:10 saiballo