MUIRichTextEditor integration #1699
-
Hi, I'm trying to integrate MUIRichTextEditor mui-rte with react-hook-form codesandbox.io/s/react-hook-form-controller-c0mr0
I'm aware that it might be MUIRichTextEditor problem. Maybe there's some other RTE which can be easily integrated with hook-form? Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 17 replies
-
can you leverage |
Beta Was this translation helpful? Give feedback.
-
In the codesandbox provided when I type something in the RTE, the cursor is moved to the beginning (as if render occured though the render count is not incremented) |
Beta Was this translation helpful? Give feedback.
-
All the links taking me to the same codeSandbox. https://codesandbox.io/p/sandbox/react-hook-form-muirichtexteditor-integration-c0mr0?file=%2Fsrc%2Findex.js I am looking to use Controller with RTF |
Beta Was this translation helpful? Give feedback.
-
So, let me trying to explain my problem. I am using rich text field with react hook from. I am not able to update the value correctly. I fI uncomment setValue and type abcd it will appear dcba <Controller |
Beta Was this translation helpful? Give feedback.
can you leverage
onChange
prop at theController
.https://react-hook-form.com/api#Controller