Show an alert above the table conditionally

How to show an alert or a message above the table if a table column data contains a null value for example...and this message or alert toggles conditionally based on a filter.. Showing a widget above the table does the trick.. but i dont want to run the query in the widget again... Is it possible...
4 Replies
Patrick Boivin
@shehryar I'm not sure the widget approach would work because the widget doesn't have access to the table's data... Have you tried extending the Blade view for your ListRecords page?
ImShehryar
ImShehryarOP2y ago
Just like a shout plugin contextual notice..but above the table..
ImShehryar
ImShehryarOP2y ago
Haven't tried yet..but will try..if didnt found a solution..
toeknee
toeknee2y ago
It's usually bad UX to do this dynamically as it causes the page to jump, which is where filament notifications come in
Want results from more Discord servers?
Add your server