Merge pull request #13830 from Budibase/BUDI-8281/readonly-columns-in-forms
Readonly columns in forms in the client
This commit is contained in:
commit
e4b18b4c8d
|
@ -206,7 +206,7 @@
|
||||||
error: initialError,
|
error: initialError,
|
||||||
disabled:
|
disabled:
|
||||||
disabled || fieldDisabled || (isAutoColumn && !editAutoColumns),
|
disabled || fieldDisabled || (isAutoColumn && !editAutoColumns),
|
||||||
readonly: readonly || fieldReadOnly,
|
readonly: readonly || fieldReadOnly || schema?.[field]?.readonly,
|
||||||
defaultValue,
|
defaultValue,
|
||||||
validator,
|
validator,
|
||||||
lastUpdate: Date.now(),
|
lastUpdate: Date.now(),
|
||||||
|
|
Loading…
Reference in New Issue