allow create in model select and fixed some stuff

This commit is contained in:
vabene1111
2024-05-07 07:57:45 +02:00
parent 5f2e683b6b
commit fd1c6d718e
4 changed files with 39 additions and 24 deletions

View File

@@ -18,7 +18,7 @@
prepend-icon=""
prepend-inner-icon="$calendar"
></v-date-input>
<ModelSelect model="MealType" v-model="mutableMealPlan.mealType"></ModelSelect>
<ModelSelect model="MealType" :allow-create="true" v-model="mutableMealPlan.mealType"></ModelSelect>
<v-number-input control-variant="split" :min="0" v-model="mutableMealPlan.servings"></v-number-input>
<v-text-field label="Share" v-model="mutableMealPlan.shared"></v-text-field>
</v-col>