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