clear input field after select

This commit is contained in:
Moriz Wahl 2022-11-23 09:47:13 +01:00
parent 8bf22921cf
commit b7c620c78c

View File

@ -7,6 +7,8 @@
type="search" type="search"
icon="search" icon="search"
label-prop="id" label-prop="id"
v-model="query"
:id="id"
:icon-right="null" :icon-right="null"
:options="users" :options="users"
:loading="$apollo.queries.searchUsers.loading" :loading="$apollo.queries.searchUsers.loading"
@ -91,9 +93,8 @@ export default {
closeModal() { closeModal() {
this.isOpen = false this.isOpen = false
}, },
confirmModal(item) { confirmModal() {
this.addMemberToGroup() this.addMemberToGroup()
item = null
this.clear() this.clear()
this.isOpen = false this.isOpen = false
}, },