Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integer and decimal mask #271

Open
brunochimenes opened this issue Jun 21, 2022 · 0 comments
Open

integer and decimal mask #271

brunochimenes opened this issue Jun 21, 2022 · 0 comments

Comments

@brunochimenes
Copy link

I need to add a mask that is decimal and integer, but this option needs to be dynamic as the user types. For example, the user can put in an integer and then add the comma, making the number decimal.

I'm using the money type with these settings.

type="money"
options={{
precision: 3,
separator: ',',
delimiter: '.',
unit: '',
suffixUnit: '',
}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant