Trigger an action when updating a column's state
- Published: 28 Apr 2025 Updated: 28 Apr 2025
Using an editable column like SelectColumn or ToggleColumn, you can conditionally trigger a modal form when a certain option is selected.
Using an editable column like SelectColumn or ToggleColumn, you can conditionally trigger a modal form when a certain option is selected.
In this example, selecting a specific status (like "Redirected ") opens a modal with additional fields to fill, while other options simply update the record directly.
Related Tricks:
make all Field or any components translatable
how to make actions sticky in tables when you have a lot of columns
Add a Quick links to activate table filter on FilamentPHP table
how to use a resource with multiple models