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:
how to use an action as a headerAction or as a table row action without code duplication
how to use a resource with multiple models
Add a Quick links to activate table filter on FilamentPHP table
Translating components can often be a repetitive task, Fortunately, there's a neat trick to automate this process, making your components instantly translatable.