i have to validate number with allow only 2 digits after the decimal. So i want to prevent type more 2 numbers with the condition. I setState but it does not re-render input.
I tried with input (pure) its ok. but with AvField it is not ok.
Please take a look at my example
https://stackblitz.com/edit/react-vajwfo
i have to validate number with allow only 2 digits after the decimal. So i want to prevent type more 2 numbers with the condition. I setState but it does not re-render input. I tried with
input
(pure) its ok. but withAvField
it is not ok. Please take a look at my example https://stackblitz.com/edit/react-vajwfo