change ingredients to text area

This commit is contained in:
hay-kot 2021-03-31 18:19:41 -08:00
commit 5c76e758b9

View file

@ -83,14 +83,16 @@
:key="generateKey('ingredient', index)" :key="generateKey('ingredient', index)"
> >
<v-row align="center"> <v-row align="center">
<v-text-field <v-textarea
class="mr-2" class="mr-2"
:label="$t('recipe.ingredient')" :label="$t('recipe.ingredient')"
v-model="value.recipeIngredient[index]" v-model="value.recipeIngredient[index]"
append-outer-icon="mdi-menu" append-outer-icon="mdi-menu"
mdi-move-resize mdi-move-resize
auto-grow
solo solo
dense dense
rows="2"
> >
<v-icon <v-icon
class="mr-n1" class="mr-n1"
@ -100,7 +102,7 @@
> >
mdi-delete mdi-delete
</v-icon> </v-icon>
</v-text-field> </v-textarea>
</v-row> </v-row>
</div> </div>
</transition-group> </transition-group>
@ -235,6 +237,7 @@
dense dense
v-model="value.recipeInstructions[index]['text']" v-model="value.recipeInstructions[index]['text']"
:key="generateKey('instructions', index)" :key="generateKey('instructions', index)"
rows="4"
> >
</v-textarea> </v-textarea>
</v-card-text> </v-card-text>