Cancelable search query
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
const dispatch = createEventDispatcher()
|
||||
|
||||
export function setInputValue(v: string): void {
|
||||
console.log('setinput')
|
||||
value = v
|
||||
}
|
||||
|
||||
@@ -42,7 +41,7 @@
|
||||
// the next time we open the modal, the search field will be empty
|
||||
cacheManager.addToSearchHistory('')
|
||||
dispatch('input', value)
|
||||
}, 250)
|
||||
}, 300)
|
||||
</script>
|
||||
|
||||
<div class="omnisearch-input-container">
|
||||
|
||||
Reference in New Issue
Block a user