form
form copied to clipboard
Problem using useField with Material-ui select component
Working with useForm and useField and the Material-ui select component i've noticed a bad behaviour caused by the onBlur function.
When I click the select to select a value, the focus pass to the custom dropdown select menu from the real select. This cause a form rerender (the field's isTouched prop change value) which can cause performance problem with big select components.
Is there any way to avoid this behaviour ?