ERROR TypeError: Cannot assign to read only property 'reportAirport' of object '[object Object]
snippet in javascript

ERROR TypeError: Cannot assign to read only property 'reportAirport' of object '[object Object]

user1931

elementReadOnly = {...elementReadOnly, fieldModified: value};