Hi there,
I have a custom default.yaml file in which I have overridden the Options tab to show only my choices. All options work fine except one, the Published option. This one shows two Yes and No toggle button.
This is my yaml code:
options:
type: tab
title: PLUGIN_ADMIN.OPTIONS
fields:
publishing:
type: section
title: PLUGIN_ADMIN.PUBLISHING
underline: true
fields:
header.published:
type: toggle
toggleable: true
label: PLUGIN_ADMIN.PUBLISHED
help: PLUGIN_ADMIN.PUBLISHED_HELP
highlight: 1
size: medium
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
validate:
type: bool
Does anyone know what’s going on?
Thanks.