Skip to content

Commit

Permalink
Enter-key to add items
Browse files Browse the repository at this point in the history
For feature request galenmaly#199
  • Loading branch information
Lanjelin authored Apr 4, 2022
1 parent 908033a commit 506bd13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/category.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<span class="lpQtyCell">qty</span>
<span class="lpRemoveCell"><a class="lpRemove lpRemoveCategory" title="Remove this category" @click="removeCategory(category)"><i class="lpSprite lpSpriteRemove" /></a></span>
</li>
<item v-for="itemContainer in itemContainers" :key="itemContainer.item.id" :item-container="itemContainer" :category="category" />
<item v-for="itemContainer in itemContainers" :key="itemContainer.item.id" :item-container="itemContainer" :category="category" @keyup.enter.native="newItem" />
<li class="lpFooter lpItemsFooter">
<span class="lpAddItemCell">
<a class="lpAdd lpAddItem" @click="newItem"><i class="lpSprite lpSpriteAdd" />Add new item</a>
Expand Down

0 comments on commit 506bd13

Please sign in to comment.