Skip to content

Commit 743711a

Browse files
bartvosmansagalbot
authored andcommitted
Replace v-model with :value since it doesn't work on android (sagalbot#792)
1 parent e76e3c9 commit 743711a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Select.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@
325325

326326
<input
327327
ref="search"
328-
v-model="search"
328+
:value="search"
329329
@keydown.delete="maybeDeleteValue"
330330
@keyup.esc="onEscape"
331331
@keydown.up.prevent="typeAheadUp"
@@ -334,6 +334,7 @@
334334
@keydown.tab="onTab"
335335
@blur="onSearchBlur"
336336
@focus="onSearchFocus"
337+
@input="search = $event.target.value"
337338
type="search"
338339
class="form-control"
339340
:autocomplete="autocomplete"

0 commit comments

Comments
 (0)