diff --git a/src/components/input/Search.vue b/src/components/input/Search.vue index 45ff9d5..92c431a 100644 --- a/src/components/input/Search.vue +++ b/src/components/input/Search.vue @@ -45,7 +45,7 @@ e.preventDefault() let search = document.querySelector('#' + this.formId + ' > [type=search]') search.blur() - if (this.onSearch) this.onSearch() + if (this.onSearch) this.onSearch(this.$refs.input.value) }, cancel() {