jonathanpmartins / v-money3

Vue3 currency input/directive mask
MIT License
103 stars 27 forks source link

Feature request: Handle input of decimal separator by the user #82

Open tvogel opened 1 year ago

tvogel commented 1 year ago

I think, it would be useful to have an input mode which allows the user to input "1.5" and have that actually input "1.50". What about this: When the users hits the decimal separator key, take anything to the left of the cursor and replace the digits left of the decimal separator with that. Then, move the cursor to the right of the decimal separator and switch to overwrite mode.

While I like the configuration options and features of v-money3, the mode of input is not as intuitive as I had imagined.