fix: add auto-select-first attribute to RecipeOrganizerSelector.vue (#3376)

This commit is contained in:
Kuchenpirat 2024-03-25 17:52:41 +01:00 committed by GitHub
parent 95d3fd4958
commit 8fb43246b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,7 @@
$globals.icons.tags" $globals.icons.tags"
return-object return-object
v-bind="inputAttrs" v-bind="inputAttrs"
auto-select-first="true"
:search-input.sync="searchInput" :search-input.sync="searchInput"
@change="resetSearchInput" @change="resetSearchInput"
> >
@ -140,7 +141,6 @@ export default defineComponent({
} }
function appendCreated(item: RecipeTag | RecipeCategory | RecipeTool) { function appendCreated(item: RecipeTag | RecipeCategory | RecipeTool) {
console.log(item);
if (selected.value === undefined) { if (selected.value === undefined) {
return; return;
} }