Builder field plugin: select field in a nested builder field, first item empty

I use kirby 3.1.2 and the last version of the Builder field plugin developed by Tim (@timoetting)

If I add a select field in a “builder” field (blueprint)

                fields: 
                  joblist: 
                    type: builder
                    label: Job list
                    columns: 1
                    fieldsets:
                      jobs:
                        label: Job
                        fields:
                          jobs:
                            label: Post
                            type: select
                            options:
                              design: Design
                              architecture: Architecture
                              photography: Photography
                              3d: 3D
                              web: Web

The first item of the select box is empty and here “design: Design” I not displayed.

Does someone can reproduce this issue?

No, works fine for me in a fresh Starterkit with a freshly downloaded builder plugin.

<select id="719" name="jobs" class="k-select-input-native">
    <option value="">—</option>
    <option value="design">Design</option>
    <option value="architecture">Architecture</option>
    <option value="photography">Photography</option>
    <option value="3d">3D</option>
    <option value="web">Web</option>
</select>

Are you using any other plugins, multi-language etc.?

Yes I use:

  • K3-pagedisplay-section
  • Kirby3-feed
    … and another personal plugin.

But if I remove them except “Field builder” I steal have this issue :-/

Even after clearing the browser cache and all session data and localStorage?

Yes …

Have you also tested this in a fresh Starterkit? And if not, could you please do this?

I tested in a old Kirby version -> same issue
I tested in a fresh starterkit -> I can reproduce the issue so maybe it’s something wrong in my blueprint.

I just modifed home.yml, This is my entire home.yml

title: Home
icon: 🏠

options:
  status: false

sections:
  info:
    headline: Info
    type: info
    text: All content for the homepage is being pulled from the photography page.

  photography:
    headline: Photography
    extends: sections/albums
    status: listed

  newsletterbuilder:
    type: fields
    fields:
      newsletterbuilder:
        label: Newsletter builder
        type: builder
        columns: 1 # Optional. If set to 2 or more, the builder blocks will be places in a grid.
        fieldsets:
          jobs: # This is a field set. It contains a group of kirby fields. The user can select from these sets to build the content.
            label: Jobs
            fields: 
              joblist: # The Builder Field can even be nested!
                type: builder
                label: Job list
                columns: 1
                fieldsets:
                  jobs:
                    label: Job
                    fields:
                      jobs:
                        label: Post
                        type: select
                        options:
                          design: Design
                          architecture: Architecture
                          photography: Photography
                          3d: 3D
                          web: Web

Ah, that is a nested builder field. With that code, I can reproduce the issue.

Ok, thank you for reproducing this issue.
I changed the title of this thread to be more precise and I will add an issue in the plugin’s Github page.

Hey everyone,

this problem should be solved in one of the latest Kirby Builder Versions.

Yep, your last version fix the problem. Thank you so much @timoetting