From 0806b7d3aaff9a0e95969fe83eaa26fce7129ea5 Mon Sep 17 00:00:00 2001 From: Tim Berkeley Date: Wed, 30 Aug 2017 15:11:51 +0100 Subject: [PATCH 1/2] Resolves #23 - setting the text with v-model searches with the new value --- README.md | 2 ++ src/js/components/vue-autocomplete.vue | 40 +++++++++++++++++++------- 2 files changed, 31 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 6e582e0..9b141bc 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,8 @@ var Autocomplete = require('vue2-autocomplete-js'); +You can optionally use v-model to access and update the text entry field. If You +update the model the component will automatically search for the string entered.