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