Skip to content

remove symbol after paste number in input #605

@Slonevskyi08

Description

@Slonevskyi08

Hello! First of all thanks for this great library!

I have issue, when I use allowedDecimalSeparators={[",", "."]} and user paste for example the following number: "1234,42" I have the next value in Input after paste: "123442", but if the user paste "1234.42", then everything is fine.
I expect that the user will be able to insert numbers with both periods and commas.
How can I fix this? I tried to intercept the initial value before formatting, but it comes to me without a comma(

Thanks so much for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions