vue-number-format icon indicating copy to clipboard operation
vue-number-format copied to clipboard

Cannot enter decimal character if suffix contains the same character

Open ConfusedCitizen opened this issue 5 months ago • 0 comments

If you use a suffix or prefix that contains the same decimal character you have specified you cannot then type it into the input.

Replicatable on https://vue-number-format.netlify.app/guide/play-ground.html by making the decimal character . and by using the default Rs. prefix in either the prefix or the suffix field.

Only workaround is to specify minimum fraction digits and then the decimal character will show up on blur if you clear the value or to remove the decimal character from any prefix/suffix.

Image

ConfusedCitizen avatar Jun 30 '25 03:06 ConfusedCitizen