how to show value in input field limit upto 2 for decimal values #7343
Unanswered
kishan143-jaiswal
asked this question in
Q&A
Replies: 2 comments 6 replies
-
you will need to use a mask input to achieve that and wrapped with Controller or hook useController |
Beta Was this translation helpful? Give feedback.
1 reply
-
Anyone visiting this in 2023 or later, you can use a pattern to restrict it. also use step="any" or step="0.01".
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i want to show in disabled input field limit upto 2 for decimal values
Beta Was this translation helpful? Give feedback.
All reactions