react-hook-form-mui
react-hook-form-mui copied to clipboard
onChange event is not
Duplicates
- [X] I have searched the existing issues
Latest version
- [X] I have tested the latest version
Current behavior 😯
The onChange event does not trigger any response, despite providing the correct event handler.
Expected behavior 🤔
The onChange event does not trigger any response, despite providing the correct event handler.
Steps to reproduce 🕹
- Install the react-hook-form-mui package and set up the SliderElement.
- Pass an onChange event handler to SliderElement.
- Adjust the slider to change its value.
- Observe that the onChange event does not fire as expecte
https://stackblitz.com/edit/react-jiepop?file=src%2FBudgetField.tsx
It would be advised to use useWatch("name") of react hook form to react to changes of the slider.
https://stackblitz.com/edit/react-bglsco?file=src%2FBudgetField.tsx