[3.x] 404 for all actions in the form package.

I'm trying to use the form package but any action returns 404. search with select, click on form action.
Solution:
``` Route::group(['prefix' => LaravelLocalization::setLocale()], function () { // Your other localized routes... ...
Jump to solution
3 Replies
Arthur Minasyan
Arthur MinasyanOP16mo ago
Arthur Minasyan
Arthur MinasyanOP16mo ago
GitHub
[3.x] 404 for all actions in the form · filamentphp filament · Disc...
When I search, it gives a 404 class FormComponentName extends Component implements HasForms { use InteractsWithForms; public ?array $data = []; public function mount(): void { $this->form->fi...
Solution
Arthur Minasyan
Arthur Minasyan16mo ago
Route::group(['prefix' => LaravelLocalization::setLocale()], function ()
{
// Your other localized routes...

Livewire::setUpdateRoute(function ($handle) {
return Route::post('/livewire/update', $handle);
});
});
Route::group(['prefix' => LaravelLocalization::setLocale()], function ()
{
// Your other localized routes...

Livewire::setUpdateRoute(function ($handle) {
return Route::post('/livewire/update', $handle);
});
});
Want results from more Discord servers?
Add your server