hi!
I am creating a custom block, and looking at the fields in the drawer, it looks like the link field does not load any internal pages for me to select from.
I’m using a layout section with the following fieldset settings:
fieldsets:
text:
label: Text
type: group
fieldsets:
heading: true
text: true
list: true
line: true
quote: true
button:
preview: fields
fields:
buttonText:
type: text
label: Button Text
buttonLink:
type: link
Is there a solution for this? or is this maybe a bug?
thanks!
I am a bot confused about the type: group
part - wha tis this for?
Wouldn’t it be just
yourFieldName:
type: blocks
fieldsets:
heading: true
text: true
list: true
line: true
quote: true
button:
preview: fields
fields:
buttonText:
type: text
label: Button Text
buttonLink:
type: link
Nevertheless, actually with both versions it does work for me in the drawer. Are you seeing any errors in the browser console? What Kirby version are you using (please always mention this)?
the type: group
was because it was just a section of the field code and there are 3 separate fieldset groups…
It suddenly is working now, so I am not sure what the problem was before… I am on 4.5, testing 4.6.1…
Thanks, I know the groups in general. I meant in the specific example. But @nwong212 has already explained that in the actual blueprint there are more.