Skip to content

Commit

Permalink
Add v-on:input for Android; see vuejs/vue#8231
Browse files Browse the repository at this point in the history
  • Loading branch information
bensteinberg committed Oct 23, 2019
1 parent e00fd46 commit 136dec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1>Recipes</h1>
<section v-else>
<div v-if="loading">Loading...</div>
<div v-else>
<input v-model="search" name="search" type="text" id="search" autocomplete="off">
<input v-model="search" v-on:input="search = $event.target.value" name="search" type="text" id="search" autocomplete="off">
<span id="count">{{ filteredRecipes.length }}</span>
<template v-for="recipe in sortedRecipes">
<section v-bind:aria-label="recipe.name">
Expand Down

0 comments on commit 136dec6

Please sign in to comment.