You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a simple form in my project, with three fields, two regular fields, and one react-trumbowyg field. It seems like I successfully set everything up. I'm not getting any errors in my console. However, I'm not able to get any value typed into the trumbowyg editor into my state.
Here are the relevant bits of code I'm using:
The import statements
import 'react-trumbowyg/dist/trumbowyg.min.css';
import Trumbowyg from 'react-trumbowyg';
import jquery from 'jquery';
Can you please try this? You can compose a controlled wrapper for Trumbowyg component. I normally use it with react-redux, I tried to simplify it with React Hooks.
I have a simple form in my project, with three fields, two regular fields, and one react-trumbowyg field. It seems like I successfully set everything up. I'm not getting any errors in my console. However, I'm not able to get any value typed into the trumbowyg editor into my state.
Here are the relevant bits of code I'm using:
The import statements
The constructor
The onchange event that occurs when a user types into a field
The react-trumbowg component
Using the chrome Redux tools all I see is just empty quotes after submission for the text field. Am I setting up the actual component right?
The text was updated successfully, but these errors were encountered: