Locking a field

Hello everyone,
is there an easy way to prevent a field from being edited?

Thanks,
R

Yes, you can set it to readonly:

fields:
  myfield:
    label: Some Label
    type: text
    readonly: true

or use a hidden field

fields:
  myfield:
    label: Some Label
    type: hidden
1 Like