© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
dododedodonl

Redirect in SPA mode

When using a
<x-filament::button ...>
<x-filament::button ...>
component to go to a internal route (eg. example.test/route1), which almost always redirects (302) to an external url. Because the href on the button is an internal url,
Filament\Support\generate_href_html
Filament\Support\generate_href_html
adds
wire:navigate
wire:navigate
to the button. This does not work, as the external resource has CORS headers preventing this.

How can I use
<x-filament::button ...>
<x-filament::button ...>
in SPA mode and prevent
wire:navigate
wire:navigate
added to it?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

SPA mode in Safari
FilamentFFilament / ❓┊help
3y ago
User menu in SPA mode
FilamentFFilament / ❓┊help
14mo ago
Progress bar in SPA mode
FilamentFFilament / ❓┊help
3y ago
White screen when in SPA mode
FilamentFFilament / ❓┊help
3y ago