Refetch Query when variable change (VUE)

i have 2 pages:

1. BaseInputSearchResults.vue:
2. useLp.ts (Vue/query hook)


im trying to call the query everytime the searchValue is changes with the new value, but it not works for some reason.
i did a thing like this with react/query and i was very easy with useState, i thought it will be like this with ref in vue, but ut seems that not.
how to fix it , please help
Screenshot_2023-09-25_at_16.19.06.png
Screenshot_2023-09-25_at_16.19.12.png
Was this page helpful?