Hello every one.
Is there a way to hide or remove the taxonomy field from the admin panel? I want to hide it so that the cliënt can’t change it.
What I want is the next thing. When the cliënt is making a new page and name it i.e. “case”. All the information he is putting I want to play with it in another twig. And with taxonomy I can achieve al the information. But for some reason I can’t hide it.
What I already tried is “disabled: true” or “unset@: true” both won’t work. Am I doing it wrong?
title: Content
form:
fields:
tabs:
type: tabs
active: 1
fields:
content:
type: tab
title: Content
fields:
header.fieldset:
type: fieldset
title: Titel van het blok
collapsed: false
collapsible: true
fields:
header.fieldset.title:
type: text
validate:
required: true
label: Titel
header.taxonomy:
type: taxonomy
label: PLUGIN_ADMIN.TAXONOMY
classes: taxonomies
multiple: true
disabled: true
default:
tag: ['case']
validate:
type: array
nothing:
type: tab
title: nothing