3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
farmOS/modules/core/field/config/schema/farm_field.schema.yml
paul121 abb2dc72c7 Add schema for hideable_boolean field formatter.
Schema was missing which caused config inspector errors when creating
map_popup display config for assets. We didn't catch this before because
our default display mode is not saved in config.
2021-06-08 22:38:09 -04:00

20 lines
473 B
YAML

# Schema for hideable_boolean field formatter.
field.formatter.settings.hideable_boolean:
type: mapping
mapping:
format:
type: string
label: 'Output format'
format_custom_false:
type: label
label: 'Custom output for FALSE'
format_custom_true:
type: label
label: 'Custom output for TRUE'
hide_if_false:
type: boolean
label: 'Hide if false'
hide_if_true:
type: boolean
label: 'Hide if true'