Imam
Imam
FFilament
Created by Imam on 1/22/2024 in #❓┊help
Disable option Checkbox List more than 1 items
use Filament\Forms\Components\CheckboxList;

CheckboxList::make('technologies')
->options([
'tailwind' => 'Tailwind CSS',
'alpine' => 'Alpine.js',
'laravel' => 'Laravel',
'livewire' => 'Laravel Livewire',
])
->disableOptionWhen(fn (string $value): bool => $value === 'livewire')
use Filament\Forms\Components\CheckboxList;

CheckboxList::make('technologies')
->options([
'tailwind' => 'Tailwind CSS',
'alpine' => 'Alpine.js',
'laravel' => 'Laravel',
'livewire' => 'Laravel Livewire',
])
->disableOptionWhen(fn (string $value): bool => $value === 'livewire')
In the example above, we can disable the livewire options My question is, how to disable livewire and laravel in options?
7 replies
FFilament
Created by Imam on 1/22/2024 in #❓┊help
How to make dynamic range Options Select Form Based on Selected State
No description
5 replies