add categories relation
This commit is contained in:
parent
168a308c54
commit
126395746e
@ -5,8 +5,7 @@ date: 2023-02-16
|
|||||||
description: ""
|
description: ""
|
||||||
image: /media/buchempfehlung-2023-01.webp
|
image: /media/buchempfehlung-2023-01.webp
|
||||||
tags:
|
tags:
|
||||||
- buchempfehlung
|
- ""
|
||||||
- "2023"
|
|
||||||
categories:
|
categories:
|
||||||
- Buchrezension
|
- Buchrezension
|
||||||
type: post
|
type: post
|
||||||
|
@ -58,10 +58,16 @@ const PostCollection = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "categories",
|
name: "categories",
|
||||||
label: "Kategorien",
|
label: "Kategorie(n)",
|
||||||
widget: "list",
|
hint: "Kategorien müssen vorher im separeten Bereich erstellt werden.",
|
||||||
delimiter: ",",
|
widget: "relation",
|
||||||
|
collection: "categories",
|
||||||
|
value_field: "{{title}}",
|
||||||
|
search_fields: ["title"],
|
||||||
|
display_fields: ["{{title}}"],
|
||||||
|
multiple: true,
|
||||||
required: false,
|
required: false,
|
||||||
|
options_length: 10000,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "type",
|
name: "type",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user