I am trying to implement a debounce on an input field using the lodash debounce function.
It works fine if I addd the loadash debounce directly as the event handler but not if I place it inside another function.
The reason I need to do this is because I need to perform some action before debouncing the input field.
So I tried to place the debounce inside a vue method but then the debounce doesnt work.
Input 1 debounces fine, but input 2 doesnt.