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
@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?
Just like a shout plugin contextual notice..but above the table..
Haven't tried yet..but will try..if didnt found a solution..
It's usually bad UX to do this dynamically as it causes the page to jump, which is where filament notifications come in