mirror of
https://github.com/sergeyyarkov/devthread.ru.git
synced 2026-10-11 10:19:13 +03:00
relation on category
This commit is contained in:
parent
699f5b2b17
commit
c06face197
@ -12,7 +12,7 @@ collections:
|
||||
fields:
|
||||
- {label: "Template Key", name: "templateKey", widget: "hidden", default: "article"}
|
||||
- {label: "Заголовок", name: "title", widget: "string"}
|
||||
- {label: "Категория", name: "category", widget: "relation", collection: "categories", valueField: "name.first", searchFields: ["name.first"]}
|
||||
- {label: "Категория", name: "category", widget: "relation", collection: "categories", valueField: "title", searchFields: ["title"]}
|
||||
- {label: "Дата публикации", name: "date", widget: "datetime"}
|
||||
- {label: "Описание", name: "description", widget: "text"}
|
||||
- {label: "Содержание", name: "body", widget: "markdown"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user