tibi-starter/api/collections/fieldLists/column.yml

50 lines
1.1 KiB
YAML
Raw Normal View History

2024-01-27 19:58:35 +01:00
- name: contentType
type: string
meta:
2024-02-13 17:36:09 +01:00
label:
de: Inhaltstyp
en: Content Type
2024-01-27 19:58:35 +01:00
widget: select
choices:
2024-02-13 17:36:09 +01:00
- name:
de: Bilder
en: Images
id: images
2024-01-27 19:58:35 +01:00
2024-02-13 17:36:09 +01:00
- name:
de: Modul Import
en: Module Import
2024-01-27 19:58:35 +01:00
id: moduleImport
2024-02-13 17:36:09 +01:00
- name:
de: Formular
en: form
id: form
2024-01-27 19:58:35 +01:00
2024-02-13 17:36:09 +01:00
- name:
de: Text
en: Text
2024-01-27 19:58:35 +01:00
id: text
2024-02-13 17:36:09 +01:00
- name:
de: Google Maps
en: Google Maps
id: googleMaps
- !include ../fields/images.yml
- name: moduleImport
type: string
meta:
label:
de: Modul Import
en: Module Import
dependsOn:
eval: $parent.contentType == 'moduleImport' || $parent.contentType == 'form'
widget: foreignKey
foreign:
collection: module
id: id
subNavigation: 0
render:
defaultCollectionViews: true
- !include ../fields/text.yml