react-json-view icon indicating copy to clipboard operation
react-json-view copied to clipboard

Bug: Property Set to Undefined On Type Change

Open conmccafferty opened this issue 6 months ago • 2 comments

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')

  1. Click edit on attribute which is not editable
  2. Click submit edit. Validation Error toast message is displayed
  3. Repeat 1-2

conmccafferty avatar Jun 04 '25 16:06 conmccafferty