Wizard::make()
->steps([
Step::make('Select Channels')
->schema([
TextInput::make('search')
->label('Search Channels')
->placeholder('Search channels...')
->reactive()
->afterStateUpdated(function ($state, $get, $set) {
$set('search', $state);
}),
Forms\Components\View::make('livewire-channel-table')
->afterStateUpdated(function ($state, $get, $set) {
$set('selectedChannels', $state['selectedChannels'] ?? []);
})
->extraAttributes(['wire:ignore' => true]),
]),
Step::make('Another Step')
// More code continued...
Wizard::make()
->steps([
Step::make('Select Channels')
->schema([
TextInput::make('search')
->label('Search Channels')
->placeholder('Search channels...')
->reactive()
->afterStateUpdated(function ($state, $get, $set) {
$set('search', $state);
}),
Forms\Components\View::make('livewire-channel-table')
->afterStateUpdated(function ($state, $get, $set) {
$set('selectedChannels', $state['selectedChannels'] ?? []);
})
->extraAttributes(['wire:ignore' => true]),
]),
Step::make('Another Step')
// More code continued...