Htmlable Filter

Does anyone know if a SelectFilter can allow
html
? I got a filter with
getOptionLabelFromRecordUsing
that returns a blade file but
html
is not available.
Solution
->modifyFormFieldUsing(function (Select $select) {
    return $select->allowHtml();
        ->getOptionLabelFromRecordUsing(function (YourModel $record) {
            return view('')->render();
        })
})
Was this page helpful?