Respect schema readonly on client

This commit is contained in:
Adria Navarro 2024-05-31 11:04:03 +02:00
parent 381d9a246b
commit d4d17893ef
1 changed files with 1 additions and 1 deletions

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(),