Describe the bug
filter-debounce no longer works if the custom filter-function attempts to access a data or computed property.
Steps to reproduce the bug
This fiddle will illustrate the issue:
https://jsfiddle.net/0jd54wpn/1/
Notice you can try it by accessing the computed property, the data property, or both. Just comment out and see the results. Comment both if statements in filterFunction to see debounce working as expected.
Expected behavior
I expect the debouncer to work no matter what you need or try to access from within the custom filter function.
Versions
Libraries:
- BootstrapVue: 2.0.2
- Bootstrap: 4.3.1
- Vue: 2.6.10
Environment:
- Device: Windows
- OS: 10 Pro
- Browser: Chrome
- Version: 77.0.3865.90
Demo link
JSFiddle
Additional context
Describe the bug
filter-debounceno longer works if the customfilter-functionattempts to access a data or computed property.Steps to reproduce the bug
This fiddle will illustrate the issue:
https://jsfiddle.net/0jd54wpn/1/
Notice you can try it by accessing the computed property, the data property, or both. Just comment out and see the results. Comment both
ifstatements infilterFunctionto see debounce working as expected.Expected behavior
I expect the debouncer to work no matter what you need or try to access from within the custom filter function.
Versions
Libraries:
Environment:
Demo link
JSFiddle
Additional context