I want to set the minimum (second) date to be newer than the first entered date.
When I use min: {{ page.firstdate }} in the second date’s definition, Kirby Panel throws an error.
Question:
- Am i doing it wrong or
- Is it not possible with using min: ?
- If not possible, how can I implement it?
My screen as it should be:
Blueprint
mystructure:
label: Reiki 1 Cursussen
type: blocks
fieldsets:
reikidata:
preview: fields # required
wysiwyg: true # recommended
label: false
name: Reiki data
fields:
reikieerste:
width: 1/2
label: Reiki eerste dag
type: eventdate
firstOrSecondDay: first
reikitweede:
width: 1/2
label: Reiki tweede dag
type: eventdate
min: {{ page.reikieerste }}
# min: '2022-02-22'
firstOrSecondDay: second
Error
thanks!
René