© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
5 replies
TranceCode

Hidden save and cancel button in form wizzard?

Hey guys, how can hidde or delete the button save, save other and cancel when i use a wizard inside a form? thank you

public static function form(Form $form): Form
{
  return $form
    ->schema([
      Forms\Components\Wizard::make([
      Forms\Components\Wizard\Step::make('Mes de cobro')
        ->schema([
      Forms\Components\TextInput::make('mescobro')->type('month')
        ->label('Mes en que se cobrara')
        ->required()
        ->reactive(),
      Forms\Components\DatePicker::make('vencimiento')
        ->label('Seleccione una fecha de vencimiento')
        ->required(),
       ])
      ->columns(2),
     Forms\Components\Wizard\Step::make('Consumo Medidores')
       ->schema(function (callable $get) {
       return [
         GaugeConsumptionList::make('gauge_consumption_list')
           ->label('Lista de Consumo de Medidores')
           ->extraAttributes(['mes_cobro' => $get('mescobro')]),
           ];
           }),
     Forms\Components\Wizard\Step::make('Ingresos')
       ->schema(function (callable $get){
       return [
         ProofIncomeList::make('proof_income_list')
           ->label('Lista de ingresos del mes')
           ->extraAttributes(['mes_cobro' => $get('mescobro')]),
           ];
           }),
     Forms\Components\Wizard\Step::make('Egresos')
       ->schema(function (callable $get){
       return [
         ExpenseList::make('expense_list')
           ->label('Lista de egresos del mes')
           ->extraAttributes(['mes_cobro' => $get('mescobro')]),
           ];
          }),
     Forms\Components\Wizard\Step::make('Generar Gasto Común')
       ->schema([]),
     ])
     ->submitAction(new HtmlString('<button type="submit">Generar Calculo</button>'))
     ->columnSpanFull()
     ->persistStepInQueryString('wizard-step'),
     ]);
    }
public static function form(Form $form): Form
{
  return $form
    ->schema([
      Forms\Components\Wizard::make([
      Forms\Components\Wizard\Step::make('Mes de cobro')
        ->schema([
      Forms\Components\TextInput::make('mescobro')->type('month')
        ->label('Mes en que se cobrara')
        ->required()
        ->reactive(),
      Forms\Components\DatePicker::make('vencimiento')
        ->label('Seleccione una fecha de vencimiento')
        ->required(),
       ])
      ->columns(2),
     Forms\Components\Wizard\Step::make('Consumo Medidores')
       ->schema(function (callable $get) {
       return [
         GaugeConsumptionList::make('gauge_consumption_list')
           ->label('Lista de Consumo de Medidores')
           ->extraAttributes(['mes_cobro' => $get('mescobro')]),
           ];
           }),
     Forms\Components\Wizard\Step::make('Ingresos')
       ->schema(function (callable $get){
       return [
         ProofIncomeList::make('proof_income_list')
           ->label('Lista de ingresos del mes')
           ->extraAttributes(['mes_cobro' => $get('mescobro')]),
           ];
           }),
     Forms\Components\Wizard\Step::make('Egresos')
       ->schema(function (callable $get){
       return [
         ExpenseList::make('expense_list')
           ->label('Lista de egresos del mes')
           ->extraAttributes(['mes_cobro' => $get('mescobro')]),
           ];
          }),
     Forms\Components\Wizard\Step::make('Generar Gasto Común')
       ->schema([]),
     ])
     ->submitAction(new HtmlString('<button type="submit">Generar Calculo</button>'))
     ->columnSpanFull()
     ->persistStepInQueryString('wizard-step'),
     ]);
    }
image.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Disable form and button save
FilamentFFilament / ❓┊help
13mo ago
Save button in tabs form
FilamentFFilament / ❓┊help
3y ago
Hidden create & cancel button, connect between Livewire component and action
FilamentFFilament / ❓┊help
2y ago
Hide "save changes" button in form wizard
FilamentFFilament / ❓┊help
2y ago