FilamentF
Filament2y ago
Jo

Quick way to translate modal "Cancel" button?

Is there a quick way to translate a single button (the "Cancel" button that appears in form modals) or do I need to follow the procedure as if I was going to translate the entire framework?
Solution
->label() on the action itself, or if using modals, you have dedicated methods like ->submitActionLabel() ->cancelActionLabel() etc
Was this page helpful?