F
Filament15mo ago
brahim

useRender HTML in select options filamentphp v3

Hi all please someone help about Render HTML in select options in filamentphp v3
10 Replies
Filament
Filament15mo 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
brahimOP15mo ago
but i need render images in select options
ZedoX
ZedoX15mo ago
You can use HTML's <img>
brahim
brahimOP15mo ago
how can i do it please can you give me example
einnlleinhatt_
einnlleinhatt_15mo ago
What is your goal ?
brahim
brahimOP15mo ago
i want render image in select list
einnlleinhatt_
einnlleinhatt_15mo ago
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_
einnlleinhatt_15mo ago
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_
einnlleinhatt_15mo ago
Found it

Did you find this page helpful?