fix search
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
<input
|
||||
class="w-full border-2 border-gray-300 bg-white h-10 px-5 pr-16 rounded-lg text-sm focus:outline-none"
|
||||
ref="searchstr"
|
||||
v-on:keyup.enter="search_dict(this.$refs.searchstr.value)"
|
||||
v-on:keyup.enter="search_dict()"
|
||||
type="search"
|
||||
name="search"
|
||||
placeholder="Výraz"
|
||||
@@ -169,6 +169,7 @@ export default {
|
||||
console.log(data.tab)
|
||||
},
|
||||
search_dict(term) {
|
||||
if (term == null) term = this.$refs.searchstr.value;
|
||||
console.log(this.$refs.searchstr.value)
|
||||
console.log('SEARCH')
|
||||
var that = this
|
||||
|
||||
Reference in New Issue
Block a user