Descriptions on CheckboxList (relationship)
Hi, I'm using this to display permissions in my user management system. Is it possible to load descriptions from the relationship without explicitly defining them in the descriptions method?
1 Reply
Maybe you can use
getOptionLabelFromRecordUsing
and return a custom blade view that also contains the description?
I used noticed that CheckboxList
doesn't have allowHtml()
so maybe you can do something like:
Not the cleanest way but hey 🤷♂️