Skip to content
Snippets Groups Projects
Commit f3c10ac6 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

fix: add missing error reporting for some fields on show page

refs #257
parent 7a582cae
No related branches found
No related tags found
No related merge requests found
...@@ -113,6 +113,7 @@ ...@@ -113,6 +113,7 @@
:label="t('showMeta.categories')" :label="t('showMeta.categories')"
custom-control custom-control
:is-saving="categories.isSaving" :is-saving="categories.isSaving"
:errors="categories.errors"
> >
<ComboBoxSimple v-model="categories.value" :choices="categories.choices"> <ComboBoxSimple v-model="categories.value" :choices="categories.choices">
<template #selected="{ deselect }"> <template #selected="{ deselect }">
...@@ -133,15 +134,30 @@ ...@@ -133,15 +134,30 @@
</ComboBoxSimple> </ComboBoxSimple>
</FormGroup> </FormGroup>
<FormGroup :label="t('showMeta.topics')" custom-control :is-saving="topics.isSaving"> <FormGroup
:label="t('showMeta.topics')"
custom-control
:is-saving="topics.isSaving"
:errors="topics.errors"
>
<ComboBoxSimple v-model="topics.value" :choices="topics.choices" /> <ComboBoxSimple v-model="topics.value" :choices="topics.choices" />
</FormGroup> </FormGroup>
<FormGroup :label="t('showMeta.genres')" custom-control :is-saving="musicFocuses.isSaving"> <FormGroup
:label="t('showMeta.genres')"
custom-control
:is-saving="musicFocuses.isSaving"
:errors="musicFocuses.errors"
>
<ComboBoxSimple v-model="musicFocuses.value" :choices="musicFocuses.choices" /> <ComboBoxSimple v-model="musicFocuses.value" :choices="musicFocuses.choices" />
</FormGroup> </FormGroup>
<FormGroup :label="t('showMeta.languages')" custom-control :is-saving="languages.isSaving"> <FormGroup
:label="t('showMeta.languages')"
custom-control
:is-saving="languages.isSaving"
:errors="languages.errors"
>
<ComboBoxSimple v-model="languages.value" :choices="languages.choices" /> <ComboBoxSimple v-model="languages.value" :choices="languages.choices" />
</FormGroup> </FormGroup>
...@@ -182,11 +198,21 @@ ...@@ -182,11 +198,21 @@
/> />
</FormGroup> </FormGroup>
<FormGroup :label="t('showMeta.hosts')" custom-control :is-saving="hosts.isSaving"> <FormGroup
:label="t('showMeta.hosts')"
custom-control
:is-saving="hosts.isSaving"
:errors="hosts.errors"
>
<ComboBoxSimple v-model="hosts.value" :choices="hosts.choices" /> <ComboBoxSimple v-model="hosts.value" :choices="hosts.choices" />
</FormGroup> </FormGroup>
<FormGroup :label="t('showMeta.owners')" class="tw-order-last" :is-saving="owners.isSaving"> <FormGroup
:label="t('showMeta.owners')"
class="tw-order-last"
:is-saving="owners.isSaving"
:errors="owners.errors"
>
<ComboBoxSimple <ComboBoxSimple
v-model="owners.value" v-model="owners.value"
:disabled="!authStore.isSuperuser" :disabled="!authStore.isSuperuser"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment