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