Fix multiple issues in Data Model view (#8333)

* disable the labels for disabled display templates

* fix color placeholder & field name

* fix singleton field label translation

* fix collections note placeholder translation
This commit is contained in:
Azri Kahar
2021-09-27 22:10:39 +08:00
committed by GitHub
parent 437e52a47c
commit 915ff76ffc
35 changed files with 42 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ fields:
- field: note
interface: input
options:
placeholder: A description of this collection...
placeholder: $t:field_options.directus_collections.note_placeholder
width: half
- field: icon
@@ -32,7 +32,7 @@ fields:
- field: color
interface: select-color
options:
placeholder: $t:field_options.directus_collections.note_placeholder
placeholder: $t:interfaces.select-color.placeholder
width: half
- field: display_template
@@ -52,7 +52,7 @@ fields:
special: boolean
interface: boolean
options:
label: Treat as single object
label: $t:singleton_label
width: half
- field: translations