vue-typeahead-bootstrap icon indicating copy to clipboard operation
vue-typeahead-bootstrap copied to clipboard

Respect v-model modifier lazy

Open gebeer opened this issue 3 years ago • 2 comments

Thanks for maintaining this. I need lazy behaviour on v-model, like v-model.lazy="name". But it doesn't seem to be implemented in this component.

My problem: the component is bound to a data property 'name'. On change of this property, I trigger a filter method that filters through hundreds of objects. ATM my filter method is being triggered on every keystroke which is bad for performance.

Would be great if you could implement the native .lazy modifier on v-model.

gebeer avatar Apr 09 '21 08:04 gebeer