-
-
Notifications
You must be signed in to change notification settings - Fork 351
Open
Description
There is an inconsistency in how default values are handled for hidden fields versus visible ones.
A hidden field's default value is applied on every save, overwriting any existing value. For visible fields, the default is correctly applied only if the field is empty.
This is problematic, among others, for fields like a UUID, which should be set only once when a record is created and then never change. Currently, editing the record incorrectly generates a new UUID every time:
- name: uuid
label: Identifier
type: uuid
hidden: true
options:
editable: false
generate: false
Metadata
Metadata
Assignees
Labels
No labels