Any way to make checkbox readonly but not disabled ?
Solution:Jump to 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()...3 Replies
Have you tried to chain ->disabled() ?
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()Thank you, I missed dehydrated. π