Open deepseacode10 opened 4 years ago
Right now the input mask for currency shows "$0.00" on an empty input, is there a way to change this so that it only shows "$0" and not the ".00" on the end for the currency alias?
Hi @deepseacode10 ,
You can add the digitsOptional option.
Inputmask("currency", { prefix: "$ ", digitsOptional: true }).mask("test1");
Right now the input mask for currency shows "$0.00" on an empty input, is there a way to change this so that it only shows "$0" and not the ".00" on the end for the currency alias?