backend & types
This commit is contained in:
74
api/collections/fieldLists/formular/datePicker.yml
Normal file
74
api/collections/fieldLists/formular/datePicker.yml
Normal file
@@ -0,0 +1,74 @@
|
||||
name: datePickerInput
|
||||
type: object
|
||||
meta:
|
||||
label:
|
||||
de: Custom Kalender
|
||||
en: Custom Calendar
|
||||
dependsOn:
|
||||
eval: $parent?.inputWidgets?.includes('customCalendar')
|
||||
subFields:
|
||||
- name: props
|
||||
type: object
|
||||
meta:
|
||||
label: Datumauswahl Eigenschaften
|
||||
subFields:
|
||||
- name: allowedDateRanges
|
||||
type: object[]
|
||||
meta:
|
||||
label: Erlaubte Datumsbereiche
|
||||
widget: containerLessObjectArray
|
||||
subFields:
|
||||
- name: from
|
||||
type: date
|
||||
meta:
|
||||
label: Von
|
||||
widget: date
|
||||
containerProps:
|
||||
layout:
|
||||
size:
|
||||
default: "col-6"
|
||||
small: "col-12"
|
||||
large: "col-6"
|
||||
- name: to
|
||||
type: date
|
||||
meta:
|
||||
label: Bis
|
||||
widget: date
|
||||
containerProps:
|
||||
layout:
|
||||
size:
|
||||
default: "col-6"
|
||||
small: "col-12"
|
||||
large: "col-6"
|
||||
|
||||
- name: excludeDays
|
||||
type: string[]
|
||||
meta:
|
||||
label: Auszuschließende Wochentage
|
||||
widget: selectArray
|
||||
choices:
|
||||
- id: monday
|
||||
name: Montag
|
||||
|
||||
- id: tuesday
|
||||
name: Dienstag
|
||||
|
||||
- id: wednesday
|
||||
name: Mittwoch
|
||||
|
||||
- id: thursday
|
||||
name: Donnerstag
|
||||
|
||||
- id: friday
|
||||
name: Freitag
|
||||
|
||||
- id: saturday
|
||||
name: Samstag
|
||||
|
||||
- id: sunday
|
||||
name: Sonntag
|
||||
|
||||
- name: standardInputProperties
|
||||
meta:
|
||||
widget: containerLessObject
|
||||
subFields: !include standardInputProperties.yml
|
||||
Reference in New Issue
Block a user