I am trying to set the default for my toggle field using the default value in my blueprint but it isn’t working. One of these uses the fieldtoggle field plugin while the other is just a toggle field.
I’m using Kirby version 2.4.1 if that helps.
Fieldtoggle:
Blueprint Code for Field Toggle
feature:
label: Is This A Feature Page?
type: fieldtoggle
default: no
options:
no: "No"
yes: "Yes"
show:
yes: imagefield
hide:
no: imagefield
imagefield:
label: Image
type: image
Blueprint for Normal Toggle Field:
pin:
label: Pin on Archive?
type: toggle
default: no
text: yes/no