diff --git a/frontend/app/components/Domain/ShoppingList/ShoppingListAddItemForm.vue b/frontend/app/components/Domain/ShoppingList/ShoppingListAddItemForm.vue new file mode 100644 index 000000000..ba2c4d71b --- /dev/null +++ b/frontend/app/components/Domain/ShoppingList/ShoppingListAddItemForm.vue @@ -0,0 +1,105 @@ + + + diff --git a/frontend/app/components/Domain/ShoppingList/ShoppingListItem.vue b/frontend/app/components/Domain/ShoppingList/ShoppingListItem.vue index 91133c5bd..2664e07eb 100644 --- a/frontend/app/components/Domain/ShoppingList/ShoppingListItem.vue +++ b/frontend/app/components/Domain/ShoppingList/ShoppingListItem.vue @@ -145,6 +145,7 @@ :labels="labels" :units="units" :foods="foods" + class="ma-2" @save="save" @cancel="toggleEdit(false)" @delete="$emit('delete')" diff --git a/frontend/app/components/Domain/ShoppingList/ShoppingListItemDetails.vue b/frontend/app/components/Domain/ShoppingList/ShoppingListItemDetails.vue new file mode 100644 index 000000000..18f5899e2 --- /dev/null +++ b/frontend/app/components/Domain/ShoppingList/ShoppingListItemDetails.vue @@ -0,0 +1,85 @@ + + + diff --git a/frontend/app/components/Domain/ShoppingList/ShoppingListItemEditor.vue b/frontend/app/components/Domain/ShoppingList/ShoppingListItemEditor.vue index 34d461c0f..cfd8bd053 100644 --- a/frontend/app/components/Domain/ShoppingList/ShoppingListItemEditor.vue +++ b/frontend/app/components/Domain/ShoppingList/ShoppingListItemEditor.vue @@ -1,112 +1,60 @@ diff --git a/frontend/app/components/global/InputLabelType.vue b/frontend/app/components/global/InputLabelType.vue index 89dde7dc9..74fc6e462 100644 --- a/frontend/app/components/global/InputLabelType.vue +++ b/frontend/app/components/global/InputLabelType.vue @@ -7,12 +7,15 @@ item-title="name" return-object :items="filteredItems" - :prepend-icon="icon || $globals.icons.tags" + :prepend-inner-icon="icon || (search ? $globals.icons.search : $globals.icons.tags)" + :menu-icon="search ? '' : undefined" + :rounded="search ? true : '4px'" + :custom-filter="() => true" + :variant="search ? 'solo-filled' : undefined" + color="primary" auto-select-first clearable - color="primary" hide-details - :custom-filter="() => true" @keyup.enter="emitCreate" >