Skip to content

Currency decimal points #149

Description

@justdan0227

Why am I able to enter in more than 2 decimal points when maskType is set to currency?

<FloatingLabelInput
label="Regular Pay"
value={reg_pay}
maskType="currency"
currencyDivider="," // which generates: 9.999.999,99 or 0,99 ...
keyboardType="numeric"
onChangeText={value => setRegPay(value)}
/>

   (Field allows 34.343434 rather than just 34.34)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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