Skip to content

Cannot enter decimal character if suffix contains the same character #78

@ConfusedCitizen

Description

@ConfusedCitizen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions