1
0
Fork 0
mirror of synced 2024-09-10 06:26:02 +12:00

Merge pull request #13830 from Budibase/BUDI-8281/readonly-columns-in-forms

Readonly columns in forms in the client
This commit is contained in:
Adria Navarro 2024-05-31 16:28:31 +02:00 committed by GitHub
commit e4b18b4c8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -206,7 +206,7 @@
error: initialError,
disabled:
disabled || fieldDisabled || (isAutoColumn && !editAutoColumns),
readonly: readonly || fieldReadOnly,
readonly: readonly || fieldReadOnly || schema?.[field]?.readonly,
defaultValue,
validator,
lastUpdate: Date.now(),