Illustrated Radios in Builder field save as NULL

The Illustrated Radios are very useful. Unfortunately I can’t get them working properly in a Builder field. When I select an option and save the page, the field is saved with the value ‘null’. Using the default radios field works as expected.
Am I the only one with this problem?

I used the plain-kit, the Builder Field and the Illustrated Radios Plugin.

Installed:
Kirby version 3.4.0
Builder Field Plugin version 2.0.1
Illustrated Radios Plugin version 1.0.2

Screenshot:

Blueprint:

title: Default Page
preset: page
fields:
  radios:
    label: Default radios
    help: Default radios inside the page builder save selected choice
    type: radio
    gap:  true
    options:
      one: Layout one
      two: Layout two
      three: Layout three
  imageradios:
    label: Image radios
    help: Image radios outside the page builder save selected choice
    type: imageradio
    columns: 3
    gap:  true
    ratio: 4/3
    options:
      one:
        text: Layout one
        image: 'block-mt_layout_1.png'
      two:
        text: Layout two
        image: 'block-mt_layout_2.png'
      three:
        text: Layout three
        image: 'block-mt_layout_3.png'
  mybuilder:
    label: Page Builder
    type: builder
    fieldsets:
      mediatext:
        name: Media & Text
        fields:
          radios:
            label: Default radios
            help: Default radios inside the page builder save selected choice
            type: radio
            columns: 3
            options:
              one: Layout one
              two: Layout two
              three: Layout three
          imageradios:
            label: Image radios
            help: Image radios inside the page builder save null
            type: imageradio
            columns: 3
            gap:  true
            ratio: 4/3
            options:
              one:
                text: Layout one
                image: 'block-mt_layout_1.png'
              two:
                text: Layout two
                image: 'block-mt_layout_2.png'
              three:
                text: Layout three
                image: 'block-mt_layout_3.png'

Content file:

Title: Home

----

Radios: one

----

Imageradios: one

----

Mybuilder:

- 
  radios: one
  _key: mediatext
  _uid: mediatext_1596182692134_157
  imageradios: null
1 Like

@timoetting @sylvainjule @texnixe Can you help me out?

Hm, there are some fields that don’t seem to play nicely inside the builder field, but I have no information as to whether this is an issue with the builder field or the imageradio field.

The good news is that the builder will finally become a native field in the future, but as I have no ETA, this will not help in the short run.

Is this something that used to work with an older Kirby version?

1 Like

A native builder field wil be awesome. :smiley:

I don’t know if it worked in an older Kirby version. I have not tested on this so I cannot give a sensible answer.

The selected imageradio is saved in the localstorage. I don’t know how builder field handles it from there.

I’m having the same issue with builder. I can add/change classes with a normal radio but when using image radio I get null.

@timoetting @sylvainjule Any solutions?

While you can continue to use the Builder plugin, it has been replaced with the native blocks/layout fields in Kirby 3.5.x.

Therefore, there will be no future updates to the builder plugin.