#Why is the create button still rendering below even though I used a wizard?

12 messages · Page 1 of 1 (latest)

knotty urchin
#

hello i have an issue when i want to using Wizard form there's a button below that i want to remove the button create , create&another and cancel.

ripe lanternBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

knotty urchin
odd warren
#

If you're using a form you can try to hide the actions with this

protected function getFormActions(): array
{
    return [];
}
knotty urchin
#

Got it!.Thank you👌

knotty urchin
#

@odd warren I just wanted to ask what if how I can add a reset button to the form in wizard?

odd warren
#

instead of return [] you can return any action you want. but it will appear on every step

knotty urchin
#

like this?

#

i can't render the button..Sorry, im a beginner in Laravel-Filament

odd warren
#

Are you importing the right Action? It should be

use Filament\Actions;

protected function getFormActions(): array
    {
        return [
            Actions\Action::make('View Result')
                ->color('primary')
                ->url(fn(Result $record) => url(ViewResult::getUrl(), $record)),
        ];
    }
#

This is an aexample