[Vuejs]-How to obtain or retrieve the typed value inside load dash's debounce method in vue js?

0👍

@typing="getAsyncData('location','?filter= UPPER({id}) LIKE UPPER('%25${name}%25') OR UPPER({description}) LIKE UPPER('%25${name}%25')')"

…is handling event by inline statement (the code is executed as-is). You need to pass original event to your method by yourself like this:

@typing="getAsyncData($event, 'location','?filter= UPPER({id}) LIKE UPPER('%25${name}%25') OR UPPER({description}) LIKE UPPER('%25${name}%25')')"

When using just method name (@typing="getAsyncData"), Vue does this automatically…

Leave a comment