F
Filament10mo ago
Tom

Customize modal step forward and back button labels?

Is there a way to customize the forward and back button labels in a modal step wizard?
No description
5 Replies
Tom
TomOP10mo ago
So it looks like it doesnt have access to the wizard functions
return Action::make('enter')
->model(Entry::class)
->label(__('foo'))
->color('success')
->size(ActionSize::Large)
->steps([
Step::make('Account Details')
return Action::make('enter')
->model(Entry::class)
->label(__('foo'))
->color('success')
->size(ActionSize::Large)
->steps([
Step::make('Account Details')
Its just steps, and with the step class does not look like I can change the prev and next button labels
Tieme
Tieme10mo ago
dont know if it is possible on Action (i think it is but dont know witch code to use. You can always use a Form on action.
awcodes
awcodes10mo ago
Could always publish the translations and change it there.
Tom
TomOP10mo ago
yea, ideally they would be different for each step, i may make a pr for this
Want results from more Discord servers?
Add your server