F
Filament13mo 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
Filament13mo 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
brahimOP13mo ago
but i need render images in select options
ZedoX
ZedoX13mo ago
You can use HTML's <img>
brahim
brahimOP13mo ago
how can i do it please can you give me example
einnlleinhatt_
einnlleinhatt_13mo ago
What is your goal ?
brahim
brahimOP13mo ago
i want render image in select list
einnlleinhatt_
einnlleinhatt_13mo 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_13mo 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_13mo ago
Found it
Want results from more Discord servers?
Add your server