gergo85
gergo85
FFilament
Created by Augus on 9/25/2023 in #❓┊help
Select field issues with combination of Live + Disabled.
Not working for me. I tried several cases too. My code:
Select::make('print_all')
->options([
1 => 'Yes',
0 => 'No'
])
->default(1)
->selectablePlaceholder(false)
->live()
->required(),
Select::make('select_label')
->options($this->labels)
->default(array_key_first($this->labels))
->selectablePlaceholder(false)
->disabled(fn (Get $get) => $get('print_all') == 1)
->live()
->required(),
Select::make('print_all')
->options([
1 => 'Yes',
0 => 'No'
])
->default(1)
->selectablePlaceholder(false)
->live()
->required(),
Select::make('select_label')
->options($this->labels)
->default(array_key_first($this->labels))
->selectablePlaceholder(false)
->disabled(fn (Get $get) => $get('print_all') == 1)
->live()
->required(),
10 replies
FFilament
Created by Albert Lens on 8/18/2023 in #❓┊help
Autofocus not working
When I put autofocus in code, it worked on the first page refresh, but not after that.
25 replies