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