-
Notifications
You must be signed in to change notification settings - Fork 431
Description
When editing a cell it returns the following error:
Firefox - TypeError: "x" is read-only
Chrome - Cannot assign to read only property 'x' of object '#'
Where x is the dataField of the table.
I have reduced table to bare minimum with no luck. The tables 'data' field is connected to a state value which recieves information from a GraphQL through Apollo client. I even assigned the data to a seperate var but still throwing error.
When I create a dummy var array in the render it works fine.
ERROR:
Uncaught TypeError: Cannot assign to read only property 'quantity' of object '#'
at utils.js:42
at Array.reduce ()
at Object.set (utils.js:33)
at Store.edit (index.js:41)
at CellEditWrapper.handleCellUpdate (wrapper.js:105)
at EditingCell.beforeComplete (editing-cell.js:149)
at EditingCell.handleKeyDown (editing-cell.js:174)
at HTMLUnknownElement.callCallback (react-dom.development.js:100)
at Object.invokeGuardedCallbackDev (react-dom.development.js:138)
at Object.invokeGuardedCallback (react-dom.development.js:187)
at Object.invokeGuardedCallbackAndCatchFirstError (react-dom.development.js:201)
