react-json-view
react-json-view copied to clipboard
Bug: Property Set to Undefined On Type Change
I am allowing edit for specific attributes of my JSON object. If an attribute is not editable, the onEdit callback returns false.
The following steps trigger this uncaught error:
TypeError: Cannot read properties of undefined (reading '0')
- Click edit on attribute which is not editable
- Click submit edit. Validation Error toast message is displayed
- Repeat 1-2