F
Filament2mo ago
Osam C

Anyway we can make the URLs clean when using `persistTabInQueryString` . Don't want that `::`

in filament 4, how can we simply the URL for tabs. Dont want tab=layouts%3A%3Adata%3A%3Atab but simply: tab=layouts. Saw in the filament Tabs component setup method, they have something like this which adds this bit. Is it on purpose? return Str::slug(Str::transliterate($label, strict: true)) . '::' . (filled($statePath) ? "{$statePath}::tabs" : 'tabs');
1 Reply
Osam C
Osam COP2mo ago
Ok, i found out, we can simply add key to Tab to fix it

Did you find this page helpful?