-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade react-codemirror2 to 3.X #851
Comments
I had the opposite problems as you. In Some information about getting things to work with each alternative:
This lets us update to 3.X. Updating to 4.X doesn't work: the behaviors are the same as if not setting |
@leplatrem @glasserc Hey guys, just chiming in to mention that I'm happy to help. I elaborated more on the project referenced issue - so let's keep the dialog going there. Whatever the issue is, we'll solve it 😎 |
Prerequisites
Description
In
react-codemirror2
version 3.X, theCodeMirror
component was split in two:Controlled
andUncontrolled
.I had troubles while upgrading. With the first one, the cursor goes to the end of the text box. With the second one, the
onChange
callback does not refresh the value submitted by the form.Steps to reproduce
I was working on it via kinto/kinto-admin. Let me build a small demo, I'll post a comment
Version
"react-jsonschema-form": "^0.48.2",
The text was updated successfully, but these errors were encountered: