-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use filter with laravel API #104
Comments
Hello @eduardoarandah I can solve the problem, I'm reviewing the same and I have not been able to find the solution to apply the filter correctly. At this moment the request is sent to the server but it does not search. |
What I did is the following: Controller
I do not think it is the most optimal solution but it works correctly. Because I tried to add the query-params, but this did not work for me: Component VueJs
Request Controller dd($request->all())This is the request object when I use the query-params but it does not take the variable
|
Notes for lesson 13:
https://github.com/ratiw/vuetable-2-tutorial/wiki/lesson-13
If you are using this package in laravel for your API
https://github.com/santigarcor/laravel-vuetable
You need an extra param called "searchable"
Example
method:
The text was updated successfully, but these errors were encountered: