getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.32k stars 168 forks source link

[3.6.0-alpha.4] Conditional sections with extending fields doesn't working #3636

Closed afbora closed 3 years ago

afbora commented 3 years ago

Describe the bug

Following sample working on 3.5.7.1 but not for 3.6.0-alpha.4.

columns:
  - width: 1/3
    fields:
      test:
        type: toggle

  - width: 2/3
    sections:
      test:
        extends: fields/test # includes multiple fields
        when:
          test: true

fields/test.yml

type: fields
fields:
  foo:
    type: text

Kirby Version

3.6.0-alpha.4

afbora commented 3 years ago

@distantnative I've tested on 3.6.0-alpha.3 and working too. I'm not sure but guess this issue related with #3599

afbora commented 3 years ago

Now I'm sure about the issue. Related PR is #3599 and line

bastianallgeier commented 3 years ago