diff --git a/app/src/interfaces/display-template/display-template.vue b/app/src/interfaces/display-template/display-template.vue deleted file mode 100644 index 371532b42a..0000000000 --- a/app/src/interfaces/display-template/display-template.vue +++ /dev/null @@ -1,25 +0,0 @@ - - - diff --git a/app/src/interfaces/display-template/index.ts b/app/src/interfaces/display-template/index.ts index da5bb0326f..53552b0b7b 100644 --- a/app/src/interfaces/display-template/index.ts +++ b/app/src/interfaces/display-template/index.ts @@ -9,8 +9,8 @@ export default defineInterface(({ i18n }) => ({ types: ['string'], options: [ { - field: 'value', - name: i18n.t('value'), + field: 'collection', + name: i18n.t('collection'), type: 'string', meta: { width: 'full', @@ -18,25 +18,5 @@ export default defineInterface(({ i18n }) => ({ default_value: '', }, }, - { - field: 'disabled', - type: 'boolean', - name: i18n.t('disabled'), - meta: { - width: 'half', - interface: 'toggle', - default_value: false, - }, - }, - { - field: 'collection', - name: i18n.t('collection'), - type: 'string', - meta: { - width: 'half', - interface: 'text-input', - default_value: '', - }, - }, ], })); diff --git a/app/src/interfaces/display-template/readme.md b/app/src/interfaces/display-template/readme.md index 342ea0e4f2..8253eced5a 100644 --- a/app/src/interfaces/display-template/readme.md +++ b/app/src/interfaces/display-template/readme.md @@ -6,7 +6,4 @@ This is the interface version of the v-field-template component. | Option | Description | Default | |---------------|----------------------------------------|---------| -| `placeholder` | Text to show when no input is entered | `null` | -| `allow-none` | Allow the user to deselect the value | `false` | -| `allow-other` | Allow the user to enter a custom value | `false` | -| `choices` | What choices to present to the user | `null` | +| `*collection` | Fields of collection to use | `null` |