Remove readonly fields from being able to be used in a save row button action
This commit is contained in:
parent
d1bc83ab0a
commit
7474d3c987
|
@ -33,7 +33,7 @@
|
|||
|
||||
const getSchemaFields = resourceId => {
|
||||
const { schema } = getSchemaForDatasourcePlus(resourceId)
|
||||
return Object.values(schema || {})
|
||||
return Object.values(schema || {}).filter(field => !field.readonly)
|
||||
}
|
||||
|
||||
const onFieldsChanged = e => {
|
||||
|
|
Loading…
Reference in New Issue