Hello,
I try to set a condition to display a tab. But the tab under the condition is not displayed.
it’s properly displayed without the “conditional”.
title: Gallery
'@extends':
type: default
context: blueprints://pages
form:
fields:
tabs:
type: tabs
active: 1
fields:
gallery:
type: tab
title: PAGE_MAP.GALLERY.LABEL
underline: true
import@1:
type: partials/gallery
context: theme://blueprints
conditionfeat:
type: conditional
condition: "'true'"
fields:
features:
type: tab
title: PAGE_MAP.FEATURES.LABEL
underline: true
import@2:
type: partials/features
context: theme://blueprints
I have tried the funny following code, which displays the fields of the second tab under the fields of the first tab :
title: Gallery
'@extends':
type: default
context: blueprints://pages
form:
fields:
tabs:
type: tabs
active: 1
fields:
gallery:
type: tab
title: PAGE_MAP.GALLERY.LABEL
underline: true
import@1:
type: partials/gallery
context: theme://blueprints
conditionfeat:
type: conditional
condition: "'true'"
fields:
tabs2:
type: tabs
active: 1
fields:
features:
type: tab
title: PAGE_MAP.FEATURES.LABEL
underline: true
import@2:
type: partials/features
context: theme://blueprints
How can i handle this ?
Thanks for your help.