F
Filament3mo ago
Blaze

Alpine js error, navigation group

Im trying to create navigation group, but the collapsible button is not working because the alpine js returns a null for the collapsible item. I have deleted all resources/views/vendor directory livewire.js?id=38dc8241:1120 Alpine Expression Error: Cannot read properties of null (reading 'includes') Expression: "! $store.sidebar.groupIsCollapsed(label)" Uncaught TypeError: Cannot read properties of null (reading 'includes') at Proxy.groupIsCollapsed (app.js?v=3.2.118.0:1:6688) at [Alpine] ! $store.sidebar.groupIsCollapsed(label) (eval at safeAsyncFunction (https://daoerzenee_v2.test/livewire/livewire.js?id=38dc8241:1171:21), <anonymous>:3:49) at livewire.js?id=38dc8241:1193:23 at tryCatch (livewire.js?id=38dc8241:1113:14) at livewire.js?id=38dc8241:3523:19 at reactiveEffect (livewire.js?id=38dc8241:2421:18) at Object.effect2 [as effect] (livewire.js?id=38dc8241:2396:7) at effect (livewire.js?id=38dc8241:763:35) at wrappedEffect (livewire.js?id=38dc8241:779:29) at Function.handler2 (livewire.js?id=38dc8241:3523:5)
No description
2 Replies
JibayMcs
JibayMcs3mo ago
Same thing for mee too ! Without any published vendor view In the latest version of Filament I've temporary fixed this using a renderHook in the PanelProvider
->renderHook(PanelsRenderHook::BODY_END, fn() => <<<HTML
<script>
if(localStorage.getItem('collapsedGroups') === 'null') {
localStorage.setItem('collapsedGroups', JSON.stringify([]));
}
</script>
HTML)
->renderHook(PanelsRenderHook::BODY_END, fn() => <<<HTML
<script>
if(localStorage.getItem('collapsedGroups') === 'null') {
localStorage.setItem('collapsedGroups', JSON.stringify([]));
}
</script>
HTML)
But it's truely not THE solution 😢
Log1x
Log1x3mo ago
GitHub
Menu items on the side menu not showing up after today's update. · ...
Package filament/filament Package Version v3.2.118 Laravel Version v11.28.1 Livewire Version v3.5.12 PHP Version PHP 8.3.12 Problem description I did a general composer update today in my dev envir...
Want results from more Discord servers?
Add your server