What is this.form? If it is the form helper, you should use the put method on it
https://inertiajs.com/forms#form-helper
form.put(url, options)
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am using Laravel 8 with InertiaJS stack.
I am using model binding on route and resource controller.
is it possible to send multiple parameter on route() function in inertia?
I cant get the request (this.form) send by this.$inertia.put(route("rooms.update", this.form));
this is my function in the controller
/** * Update the specified resource in storage. * * @param \Illuminate\Http\Request $request * @param \App\Models\Room $room * @return \Illuminate\Http\Response */ public function update(Request $request, Room $room) { dd($room, $request->all()); } this is inertia method on vue file
this.$inertia.put(route("rooms.update", this.form));
Please or to participate in this conversation.