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