jquery-meiomask
jquery-meiomask copied to clipboard
Feature Request: Have variable number of decimal places
I'd like to build a decimal mask that validates the following input exemples: 1,2 1,02 123,345 1 -1 -12,3 And block user to type the following: 1,2,3 1, ,1 -, abc
Note that the decimal separator here is comma.
surely you can just hook up an on(".change") or on("keyup") event to verify this using data attributes, it does not sound like it is a concern of meimomask IMHO
I don't get you. Are you suggesting to simply don't use meiomask? I need to allow the input of only numbers, negative signal, and one decimal separator at any place. Currently all decimal masks have a fixed number of decimal places.