Hi, I want to make an inputmask for currency. I want to accomplish this Rp1.233.000. I use the code like this:
Inputmask("decimal", {
"alias": "decimal",
"groupSeparator": ".",
"autoGroup": true,
"digits": 0,
"digitsOptional": false,
placeholder: "0"
}).mask("#amount");
Hi,
Have you checked the similar example shown in the documentation here
// Currency
Inputmask("€ 999.999.999,99", {
"numericInput": true
}).mask("#kt_inputmask_6");
I did, but it has ,00 behind. That's why I'm not using it.
It seems the setup you use adds text-align: right
css attribute to the input. Just try to reset it by adding: text-start
class to the input.
It works now. Thank you.
Great All the best with your projects.