slatejs TypeError: Cannot assign to read only property code example
Example: Cannot assign to read only property 'value' of object '[object Object]
elementReadOnly = {...elementReadOnly, fieldModified: value};
elementReadOnly = {...elementReadOnly, fieldModified: value};