I have this input mask FIDDLE:
<input data-inputmask="'mask':'[[[[[9]9]9].9]9]9,--€','greedy':false,'numericInput':true" />
but I do not want thousand separator (dot) to be visible until user types in 4th digit. So, currently the input is:
1,--€
14,--€
.145,--€
1.450,--€
What I need is logical:
1,--€
14,--€
145,--€
1.450,--€
Other mask I tried does not allow 4th digit at all:
[[[[[9]9]9.]9]9]9,--€
Currently I use simple mask:
999.999,--€
...but I do not want complete mask to be visible ___.___,--€
Is there a way to do this with current library? Also, first number should not be zero, maybe regex is better solution.