typeerror cannot assign to read only property head of object object htmldocument code example
Example: Cannot assign to read only property 'value' of object '[object Object]
elementReadOnly = {...elementReadOnly, fieldModified: value};
elementReadOnly = {...elementReadOnly, fieldModified: value};