Skip to main content
1 vote
1 answer
39 views

Race condition when updating the form data state right before submitting the form in Laravel Inertia

Problem statement When using the default Inertia useForm hook: const { data, setData, post } = useForm({ idea: '' }); I want to update the idea value and submit the form right away, ...
Ranty's user avatar
  • 3,373
0 votes
0 answers
16 views

ReferenceError: route is not defined when testing component

I'm trying to test a simple Inertia.js + React component using Vitest and React Testing Library. The component uses useForm() from @inertiajs/react and the route() helper function from Ziggy (Laravel)....
desh's user avatar
  • 697
0 votes
1 answer
45 views

Can't access shared props when error handling inside Laravel/Inertia application

I've followed the Inertia documentation on Error handling, but when I try to get the currently authenticated user inside the new error page it's always undefined. Not really sure why this is happening....
Leopold Jurić's user avatar
2 votes
0 answers
85 views

Laravel PATCH requests hanging when running on Sail

I'm using the Laravel 12 + React + Inertia starter kit. When I run the application using Sail, my PATCH requests never complete. The PATCH endpoint is being hit properly, executes the logic/DB updates,...
rxndxllx's user avatar
0 votes
0 answers
40 views

Inerta returning 302 followed by a 302 without errors

I'm using Laravel 11 with Inertia and VueJS 3. I installed Breeze on the project and tested authentication. Everything was working fine until I tested whether the invalid credentials error was ...
Arthur Silva Pereira's user avatar
0 votes
2 answers
41 views

React Input loses focus after state update

I am trying to build a custom form component. In this I use inertiajs useForm hook to automatically load the data into a state (similar to react-use-form). But my problem is, that everytime i type a ...
Henry's user avatar
  • 1
1 vote
1 answer
58 views

ziggy-js cannot retrieve the current route correcly while using the same route name for different HTTP methods in Laravel 12

I am new on PHP and currently I'm using Laravel 12 with InertiaJS and React, such toolkit allows me to use ziggy as a route helper and do things like: import { RouteList } from 'ziggy-js'; type Routes=...
Henrique de Paula Rodrigues's user avatar
0 votes
0 answers
52 views

Localized routes issue with Laravel Inertia SSR apps

I want to have a seemingly simple outcome: website in two languages with URL structure like /en/blog/article1 and /de/blog/seite1 content of the page is visible to search engines for SEO purposes It'...
Ranty's user avatar
  • 3,373
0 votes
0 answers
37 views

Error Store data with React Laravel Database Not Found

I want to store a data customer with this system, I was copy from other my system. the other system is worked fine but why this system not work as the other FormCustomer import { PlaceholderPattern } ...
M.Alfrandhy .D.D's user avatar
2 votes
1 answer
111 views

Problems with `usePage()` in Inertia + Vue3 when using inertiajs/vue3

Here's the code inside my Vue component: import { usePage } from '@inertiajs/vue3'; import { usePage as usePage2 } from '@inertiajs/inertia-vue3'; const page = usePage(); console.log('...
cartbeforehorse's user avatar
0 votes
0 answers
77 views

External JavaScript isn't loading on my vue3 layout

I am trying to move WordPress webpage to Laravel 12.x. I am using for that vue3 + inertia starting kit. But since I have very little experience with vue, and completely non in inertia, I bumped at ...
Tomek Burzyński's user avatar
0 votes
0 answers
80 views

load all pages used causing slow loading page

I am using laravel + inertiajs + react to build a website. the problem is when when I go to the home, it loads all pages including the ones are not needed on Home. it is causing the page load slow. it ...
Tom Kur's user avatar
  • 2,430
1 vote
1 answer
114 views

File Upload with Inertia and Laravel 12 not working

I am working on using Laravel 12 Inertia and React However the file upload is not working no matter what i do anybody have any idea ? I have checked the documentation on inertiajs website for file ...
codenathan's user avatar
1 vote
0 answers
57 views

Laravel InertiaJS SSR returns the app.blade.php without content from server

I enabled the SSR in InertiaJS and am now facing an issue on when the SSR returns app.blade.php without .tsx file content and then renders it the client side on. It causes the "Hydration failed ...
Raim Haren's user avatar
0 votes
0 answers
44 views

laravel 12 vue inertia laragon run in ngrok

I have a problem with the Laravel 12 project that uses Vue Laragon Then I tried to run it using Ngrok but it kept getting errors this is the error Removing unpermitted intrinsics @inertiajs_vue3.js?v=...
zaenal rfn's user avatar

15 30 50 per page
1
2 3 4 5
87
close