Hi there!
Im kinda new to Kirby but love it. But I need some help since I got into some problems.
I have a structure field and inside of it there is first a options field where you can choose the typ of block you want to add.
Next one is a field that is extended, but I only want to show it if the right opion is selected in the first field.
type: group
fields:
blocks:
type: structure
empty: LÀgg till innehÄll
label: InnehÄll
fields:
blockType:
type: select
label: Blocktyp
options:
imagetextblock: Bild och text
menublock: Meny
imagetextblock:
extends: fields/imagetextblock
when:
blockType: imagetextblock
All shows up but the âwhenâ doesnt seem to workâŠ