useRender HTML in select options filamentphp v3

Hi all please someone help about Render HTML in select options in filamentphp v3
10 Replies
Filament
Filament2y ago
We're confident that you can find the answer to this question in the docs. Please visit https://filamentphp.com/docs and use the search input to find what you are looking for. If you are still having trouble, please reply to this message to provide more information about your use case.
brahim
brahimOP2y ago
but i need render images in select options
ZedoX
ZedoX2y ago
You can use HTML's <img>
brahim
brahimOP2y ago
how can i do it please can you give me example
einnlleinhatt_
What is your goal ?
brahim
brahimOP2y ago
i want render image in select list
einnlleinhatt_
I can't find it, I read it somewhere but can't remember where. You need allowhtml() and getoptionlabel() with some function in it. And you need to create a blade view too for the image
einnlleinhatt_
Filament
Render HTML in select options by Matthew Ost - Tricks - Filament
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
einnlleinhatt_
Found it

Did you find this page helpful?