Gaspar
Gaspar
FFilament
Created by Gaspar on 8/13/2024 in #❓┊help
How can i catch Filament Import Action errors
I made my own Job and manage those exceptions there.
3 replies
FFilament
Created by Gaspar on 8/1/2024 in #❓┊help
enum value in Forms\Components\Select
Understood. Thank you!
8 replies
FFilament
Created by Gaspar on 8/1/2024 in #❓┊help
enum value in Forms\Components\Select
So i have to double my Enums with separate labels? I was really trying to avoid that.. Thank you!
8 replies
FFilament
Created by Gaspar on 8/1/2024 in #❓┊help
enum value in Forms\Components\Select
Thank you for reply. Yes i made this example based on Filament docs about Enums (my 2nd sentence in original post). So any idea why it is not working as i expect and docs say?
8 replies
FFilament
Created by Gaspar on 7/31/2024 in #❓┊help
Custom theme - Tailwind class not included in built css
Weird. I got it finally working. Any ideas why vite is yelling about Tailwind CSS config?
5 replies
FFilament
Created by Gaspar on 1/4/2024 in #❓┊help
How to translate label "updated_at"?
Maybe it is wording. I read from docs that “names should be unique”.
8 replies
FFilament
Created by Gaspar on 1/4/2024 in #❓┊help
How to translate label "updated_at"?
Why unique?
8 replies
FFilament
Created by Gaspar on 1/4/2024 in #❓┊help
How to translate label "updated_at"?
It seems the error occurs then you have more than 1 column with same name! Strange.
8 replies
FFilament
Created by Gaspar on 11/30/2023 in #❓┊help
change Infolists\Components\TextEntry content class
Ideally i would like to "just pass classname" to FI component to keep the changes minimal. I do not want to make System-wide modification to just override one component in one view. Maybe it is better to make my component just for this. Thank you!
7 replies
FFilament
Created by Gaspar on 11/30/2023 in #❓┊help
change Infolists\Components\TextEntry content class
7 replies
FFilament
Created by Gaspar on 11/25/2023 in #❓┊help
Theme switcher do not save state in local storage
Some "progress " with this problem - discovered i have some Alpine errors after upgrading Filament to v.3! It is the Filament Panel default user menu 😦
Alpine Expression Error: null is not an object (evaluating 'this.collapsedGroups.includes')
Expression: "! ($store.sidebar.groupIsCollapsed(label) && ($store.sidebar.isOpen || false))"
[Warning] Alpine Expression Error: null is not an object (evaluating 'this.collapsedGroups.includes') (livewire.js, line 1234)

Expression: "! ($store.sidebar.groupIsCollapsed(label) && ($store.sidebar.isOpen || false))"


<ul x-show="! ($store.sidebar.groupIsCollapsed(label) && ($store.sidebar.isOpen || false))" x-transition:enter="delay-100 lg:transition" x-transition:enter-start="opacity-0" x-transition:enter-end="opacity-100" x-collapse.duration.200ms class="fi-sidebar-group-items flex flex-col gap-y-1" style="height: 0px; overflow: hidden; display: none;" hidden>…</ul>

TypeError: null is not an object (evaluating 'this.collapsedGroups.includes')
Alpine Expression Error: null is not an object (evaluating 'this.collapsedGroups.includes')
Expression: "! ($store.sidebar.groupIsCollapsed(label) && ($store.sidebar.isOpen || false))"
[Warning] Alpine Expression Error: null is not an object (evaluating 'this.collapsedGroups.includes') (livewire.js, line 1234)

Expression: "! ($store.sidebar.groupIsCollapsed(label) && ($store.sidebar.isOpen || false))"


<ul x-show="! ($store.sidebar.groupIsCollapsed(label) && ($store.sidebar.isOpen || false))" x-transition:enter="delay-100 lg:transition" x-transition:enter-start="opacity-0" x-transition:enter-end="opacity-100" x-collapse.duration.200ms class="fi-sidebar-group-items flex flex-col gap-y-1" style="height: 0px; overflow: hidden; display: none;" hidden>…</ul>

TypeError: null is not an object (evaluating 'this.collapsedGroups.includes')
I guess JS problem is directly related to that Filamentphp Theme switcher logic - no records appear in localstorage! Also my Filament mobile view sidebar is not working - no menu items appear there (in desktop view they are appearing and working just fine). No idea what's wrong with it..
6 replies
FFilament
Created by Gaspar on 11/25/2023 in #❓┊help
Theme switcher do not save state in local storage
i use the same browser for https://filamentphp.com/docs - and it saves data to the localStorage (theme = system/light/dark). althou there is some other component used i think.. but not Filament User Theme-Switcher (in Panel) in my local site. should i debug it somehow?
6 replies
FFilament
Created by Gaspar on 10/20/2023 in #❓┊help
Upgrading from v2 > v3 throws "Fatal error"
It seems that this particular error was generated by my local setup. PHP binary problem! Everything works well with fixed PHP. Problem "solved" 🙂
6 replies
FFilament
Created by Gaspar on 10/20/2023 in #❓┊help
Upgrading from v2 > v3 throws "Fatal error"
DM sent.
6 replies
FFilament
Created by Gaspar on 10/14/2023 in #❓┊help
How to translate "All" in filter
Thank you!
15 replies
FFilament
Created by Gaspar on 10/14/2023 in #❓┊help
How to translate "All" in filter
hm. i guess it is my bad. i should use also
php artisan vendor:publish --tag=tables-translations
php artisan vendor:publish --tag=tables-translations
i only used the "main" command:
php artisan vendor:publish --tag=filament-translations
php artisan vendor:publish --tag=filament-translations
15 replies
FFilament
Created by Gaspar on 10/14/2023 in #❓┊help
How to translate "All" in filter
I did.
15 replies
FFilament
Created by Gaspar on 10/14/2023 in #❓┊help
How to translate "All" in filter
Well. I do not have those files in filament published language files... I have only: lang/vendor/filament/en/pages/dashboard.php lang/vendor/filament/en/resources/pages/(4 files) lang/vendor/filament/en/widgets/(2 files) lang/vendor/filament/en/global-search.php lang/vendor/filament/en/layout.php lang/vendor/filament/en/login.php lang/vendor/filament-support/en/actions/(13 files) lang/vendor/filament-support/en/components/(2 files) No table.php NB! i have v.2
15 replies
FFilament
Created by Gaspar on 10/14/2023 in #❓┊help
How to translate "All" in filter
It is located in FILTER (it is described in my post title also). This "All" is the first element in Filter dropdown list..
15 replies
FFilament
Created by Gaspar on 10/14/2023 in #❓┊help
How to translate "All" in filter
Do you mean filament published files under: lang/vendor/filament lang/vendor/filament-support
15 replies