So I have an input, and by default I want it to have the value 0.00. Easy enough.
When a user starts typing, I want to fill from the right. So when they enter “5”, the input will show “0.05.” Then they enter a zero and the input changes to “0.50” and so on. So if the user wanted to enter 5 dollars, they would just enter 5, 0, 0.
Is there a pretty straightforward way to do this? I have tried searching around but I think I’m missing the right keywords for my search phrases. I don’t know what to call this, so sorry if this is a duplicate.
Thanks.
meioMask site github has what you are searching for. Demo
on their site.