Wizard::make([
Wizard\Step::make('Personal information')
->description('Provide additional information about you.')
->schema([
Fieldset::make()->schema([
Radio::make('type')->options(['agent' => 'Agent', 'manager' => 'Manager'])->required()->reactive(),
TextInput::make('commision')->visible(fn (Callable $get) => $get('type') == 'agent' ? true : false),
]),
]),
Wizard::make([
Wizard\Step::make('Personal information')
->description('Provide additional information about you.')
->schema([
Fieldset::make()->schema([
Radio::make('type')->options(['agent' => 'Agent', 'manager' => 'Manager'])->required()->reactive(),
TextInput::make('commision')->visible(fn (Callable $get) => $get('type') == 'agent' ? true : false),
]),
]),