Skip to content

editor value updated after manually (via json) deleting entries or editing select fields #9

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

Merged
merged 1 commit into from
Feb 25, 2018

Conversation

mlevental
Copy link
Contributor

After manually deleting entries or editing values for select fields the editor value was not updated. Consequently editor.getValue() returned the old value.

This commit should fix both issues by calling this.change(). A similar fix was successfully applied for the json-editor library, see more details here: jdorn/json-editor#752. But it addressed only the issue with editing select field values.

@abogushov abogushov merged commit b59809f into abogushov:master Feb 25, 2018
@abogushov
Copy link
Owner

@mlevental thanks!

@mlevental mlevental deleted the manual-editing branch April 10, 2018 20:26
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

Successfully merging this pull request may close these issues.

2 participants