Skip to content
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

The form is being submitted when press Enter on tree mode #274

Closed
jbek7 opened this issue May 15, 2023 · 4 comments
Closed

The form is being submitted when press Enter on tree mode #274

jbek7 opened this issue May 15, 2023 · 4 comments

Comments

@jbek7
Copy link

jbek7 commented May 15, 2023

I've a react-final-form component that wraps the SvetleJsonEditor. It's submitting form for some reason when I press enter after editing the JSON tree value.

@josdejong
Copy link
Owner

How can we reproduce your issue? Can you provide a minimal code example, like in https://codesandbox.io ?

@josdejong
Copy link
Owner

Closing this due to lack of input.

@javierjulio
Copy link

@josdejong I've started using the new library today and I've run into the same issue. We use the original jsoneditor library extensively all in forms. I confirmed that the original library when in tree mode and editing a value, hitting enter does not submit the form. With the new library it does. Would you prefer I open a new issue with the reproduction?

@javierjulio
Copy link

@josdejong I've opened a new issue in #498 since it is a bug and a reproduction is provided as requested. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants