Table Filter Custom Option Html
Hi all,
In my resource $table, I want to have custom html in one of my select filters.
But Im getting raw HTML as result.
Solution:Jump to solution
GitHub
Htmlable Select Filter by CodeWithDennis · Pull Request #14228 · fi...
Description
The SelectFilter didn't support the ->allowHtml() method, even though the Select:: form component does. This PR fixes that issue.
Visual changes
Functional changes
Co...
6 Replies
$optionLabel = new HtmlString("<span class=...
@LeandroFerreira Can you provide whole example how can I get image in label in SelectFilter as I can't make this to work
Thanks
Struggling with the same issue, it seems that filters do not allow html inside, i tried with HtmlString, string, rendered blade view etc... Anyone have an idea for this ? 👀
Sounds like the SelectFilter needs support adding for allowHtml()
Solution
GitHub
Htmlable Select Filter by CodeWithDennis · Pull Request #14228 · fi...
Description
The SelectFilter didn't support the ->allowHtml() method, even though the Select:: form component does. This PR fixes that issue.
Visual changes
Functional changes
Co...
Thank you so much!