I’m having some troubles adding client-side real-time search filtering to my Nuxt JS project that pulls data from my Laravel 8 API. My Laravel 8 API uses the paginate() method to paginate my results from my database and return back some JSON whereby the data array contains all the records for the current page. My front-end contains a table with
Tag: vue.js
update return array [“isTrusted” => true] Laravel with Vue3 and Inertiajs
I tried to make Update i made a debug in Laravel 8 like that: Edit and Update function in Controller Vue Template it return the data in the form but the problem with the image file its return that in debug after changing image file and submit: array [“isTrusted” => true] I added in the form like that: nothing changed
Passing options containing blank spaces from Laravel blade to Vue multiselect
I’m trying to use Vue Multiselect in my Laravel blade file. I am putting the data in array and pass it in options as props. When option is one word(ex. “View”) everything is working. But when the option contains multiple words(ex. “View customer”) I am receiving the following error: When I print the json array, the data is shown as
upload image to server modifying name
I am building a form with laravel 5.6 and where I save a name and a user photo, but i need the photo to be stored with the username. I show the code of my store I can get the username with $request->nombre; but I don’t know how to assign that name to the photo Answer There is a ->storeAs()
nginx server with dynamic index is not executing php
i tried setting up my php backend and my vue on the same location. Based on the X-Requested-With header the server should decide if the backend would be used or the vue should be delivered. Now the delivery of the vue file is working, but the php is not executed. info: at the position of X-URI the $uri is /index.php,
Using double curly Vue.js braces inside php string param
So I’m in the middle of mixing Vue.js, PHP & HTML and I’m running into a small issue – I have the following HTML section: Now everything works great except calling the Vue.js title inside the PHP code.. I have the following: Is it possible to invoke double curly braces inside a PHP param? I have the HTML version (<span
query don´t show one result
i have this query: i can show my result, but always don´t show all, i want to say that if my result it´s 3 my query show 2 when all my result have the same result. all data have state=”pendiente” table user table asistencia table actuacion table contratan i attached my migration for you can show mi ralation Answer I
v-for vueJS condition v-if
I have a problem with v-for with v-if en my component VUEJS I need that if i have one promotion active show it in my div but if i haven´t got any promotion active show button for buy a promotion. I have do all my condition, but always show that i don´t have promotion active, but in console, no, in
How do I call a php file with axios?
I am doing a CRUD with vue.js and php. I installed the axios and I believe it is working. I just don’t know how to call the php file that connects to the database and creates, read … The folder structure: An excerpt from my script: Answer In axios you are referencing a file which will not work Axios makes
append response vue JS into component table
i´m traying append my response vue into a table but i can´t and i don´t know why. i can get all my data from my database, i can show it en my web brower console but my table is empty. i attach my …