FilamentF
Filament13mo ago
pratik

Any way to make checkbox readonly but not disabled ?

Checkbox::make('done')
            ->inlineLabel();
Solution
I think you want it disabled but that makes it an ignored field, right?

as a solution use
->dehydrated()
as in the docs:
Toggle::make('is_admin')
->disabled()
->dehydrated()
Was this page helpful?