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