-
Notifications
You must be signed in to change notification settings - Fork 18
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
Error when changing values in array #6
Comments
Hello ! Thanks to use this library :). EDIT: The problem is on wrong promise management... My fault. I will fix this. Oxyno-zeta |
I've just released the 2.1.0 version. Can you tell me if it is ok ? |
Yes, it's working well now! Thanks a lot for your help and the excellent library. I'll let you know if I happen to find any other bugs. |
That's a good news ! |
Hello! I love your module, and I've been using it all weekend. I just found out that when I try to directly change a value in an array, I get an error:
TypeError: handleUpdateValue(...) is undefined
. This originates from line 178 in ./components/JsonValue.js. This causes the value to change (onDeltaUpdate
gets called, but notbeforeUpdateAction
), but the input box doesn't close. I tried it in Firefox on Linux, and Chrome on Windows (using your demo website) and got the same error each time.One thing that might help is that if there is an object inside an array, I can edit that object's properties without this error occurring. Only values directly inside the array seem to cause it.
The text was updated successfully, but these errors were encountered: