Skip to content
Snippets Groups Projects
Commit 3fc5a9e3 authored by Anton Sattarov's avatar Anton Sattarov
Browse files

Добавлен виджет Иконка для поля icon в схеме коллекции "Настройки/Действия"

parent 1f18b522
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ func NewActionsCollection(spaceID, envID string) *collections.Collection { ...@@ -25,7 +25,7 @@ func NewActionsCollection(spaceID, envID string) *collections.Collection {
"extension", field.String().SetTitle("Расширение (Deprecated)"), "extension", field.String().SetTitle("Расширение (Deprecated)"),
"name", field.String().SetTitle("Название").SetTextSearch(true), "name", field.String().SetTitle("Название").SetTextSearch(true),
"description", field.String().SetTitle("Описание"), "description", field.String().SetTitle("Описание"),
"icon", field.String().SetTitle("Название иконки"), "icon", field.String().SetTitle("Название иконки").WithUI(&field.UI{Widget: "Icon"}),
"image", references.Field([]string{"media"}).SetTitle("Изображение").WithUI(&field.UI{Widget: "Media"}), "image", references.Field([]string{"media"}).SetTitle("Изображение").WithUI(&field.UI{Widget: "Media"}),
"kind", field.Number( "kind", field.Number(
field.NumberFormatInt, field.NumberFormatInt,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment