F
Filamentβ€’2mo ago
Medo

Wizard Step depend on Select Value Causing Problem

I have Wizard That has One Step and this step includes ToggleButton to select I have another Step that is only visible with one of the select values using ->visible() method. " for sure select is live() " the problem is the function of the visible step works fine but there's no button to go to the next step.
No description
No description
12 Replies
Medo
MedoOPβ€’2mo ago
Video Show the problem.
Medo
MedoOPβ€’2mo ago
Here's Simple Example
Wizard::make([
Wizard\Step::make('First Step')->schema([
ToggleButtons::make('check_if')->boolean()->live()
]),
Wizard\Step::make('only_if_true')->schema([
TextInput::make('other_field'),
])->visible(fn(Get $get) => $get('check_if')),
]),
Wizard::make([
Wizard\Step::make('First Step')->schema([
ToggleButtons::make('check_if')->boolean()->live()
]),
Wizard\Step::make('only_if_true')->schema([
TextInput::make('other_field'),
])->visible(fn(Get $get) => $get('check_if')),
]),
No description
No description
Medo
MedoOPβ€’2mo ago
up..
LeandroFerreira
LeandroFerreiraβ€’2mo ago
GitHub
Wizard Step depend on Select Value Causing Problem Β· filamentphp fi...
Package Panel builder Package Version v3.2.117 How can we help you? I have Wizard That has One Step and this step includes ToggleButton to select I have another Step that is only visible with one o...
Medo
MedoOPβ€’2mo ago
@LeandroFerreira Yes I have post it there as well πŸ™‚
LeandroFerreira
LeandroFerreiraβ€’2mo ago
I tried to add a wire:key random to update the whole form after updating the toggle status, but this didn't work..
Medo
MedoOPβ€’2mo ago
Yes, I was thinking about it and already tried but no luck 😦 Up..
andrii3231
andrii3231β€’2mo ago
Hello Any updates here? i have the same issue
andrii3231
andrii3231β€’2mo ago
@Medo can be fixed using "template" tag File -> vendor/filament/forms/resources/views/components/wizard.blade.php
No description
Medo
MedoOPβ€’2mo ago
@andrii3231 Correct this is the solution thank you, there's an Issue opened here https://github.com/filamentphp/filament/issues/14694
GitHub
Wizard Step depend on Select Value Causing Problem Β· Issue #14694 Β·...
Package filament/filament Package Version 3.2.117 Laravel Version 11.27.2 Livewire Version 3.5.6 PHP Version 8.3.13 Problem description I have Wizard That has One Step and this step includes Toggle...
Expecto Patronum
Expecto Patronumβ€’2mo ago
Sorry out of topic . I just wanna know how did you manage to set the tooglebutton big as that with position ?
Medo
MedoOPβ€’2mo ago
@Expecto Patronum Hello mate, it's okay. You can use this plugin and customize it as you want. https://filamentphp.com/plugins/jaocero-radio-deck
Filament
Radio Deck by Jay-Are Ocero - Filament
Turn filament default radio button into a selectable card with icons, title and description.
Want results from more Discord servers?
Add your server