Akiyama
Akiyama
FFilament
Created by Akiyama on 3/12/2025 in #❓┊help
How to Add Custom Dropdown Filters Inside Table Headers in Filament?
No description
5 replies
FFilament
Created by Akiyama on 3/5/2025 in #❓┊help
How to Refresh Filament Select Field in Real-Time When New Records Are Added?
Hey everyone! 👋 I have a Select field in Filament, which loads data from the database. However, I noticed an issue: When a user opens the select dropdown, it preloads the data. If another user adds a new record at the same time, the new record does not appear in the select field unless the page is refreshed. I’m looking for a way to automatically refresh the select field so that newly added records are available without a full page reload. I've tried using live(), reactive(), and even wire:poll, but the field doesn’t update dynamically. Is there an easy way to refresh the select options in real-time when new records are added? Any suggestions would be appreciated! 🙏
Select::make('container_id')
->label('container_id')
->options(fn() => ContainerList::pluck('container_nm', 'container_nm')->toArray())
->searchable()
->live(),
Select::make('container_id')
->label('container_id')
->options(fn() => ContainerList::pluck('container_nm', 'container_nm')->toArray())
->searchable()
->live(),
2 replies
FFilament
Created by Akiyama on 2/21/2025 in #❓┊help
Delete button
No description
7 replies