mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 07:39:41 +02:00
fix: Improve UX for new households/userrs (#4653)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
parent
60edaf4b16
commit
a439428ab8
3 changed files with 39 additions and 20 deletions
|
@ -11,7 +11,6 @@
|
|||
<v-card outlined>
|
||||
<v-card-text>
|
||||
<v-select
|
||||
v-if="groups"
|
||||
v-model="selectedGroupId"
|
||||
:items="groups"
|
||||
rounded
|
||||
|
@ -24,8 +23,8 @@
|
|||
:rules="[validators.required]"
|
||||
/>
|
||||
<v-select
|
||||
v-if="households"
|
||||
v-model="newUserData.household"
|
||||
:disabled="!selectedGroupId"
|
||||
:items="households"
|
||||
rounded
|
||||
class="rounded-lg"
|
||||
|
@ -34,6 +33,8 @@
|
|||
:return-object="false"
|
||||
filled
|
||||
:label="$t('household.user-household')"
|
||||
:hint="selectedGroupId ? '' : $tc('group.you-must-select-a-group-before-selecting-a-household')"
|
||||
persistent-hint
|
||||
:rules="[validators.required]"
|
||||
/>
|
||||
<AutoForm v-model="newUserData" :items="userForm" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue