F
Filament7mo ago
amtech

Is there a way to customize in select::make('color) in filament to select colors and show the color

Please guys, is there a way to customize in select::make('color) in filament to select colors and show the exact color or color icon and the color code from the list of options.
5 Replies
Dennis Koch
Dennis Koch7mo ago
You can use ->allowHtml() and then return an HtmlString for your options which renders your items with color
amtech
amtechOP7mo ago
Thank for this it's great, but I need it to work for selecting multiple value and show the color selected
No description
No description
Povilas K
Povilas K7mo ago
That's outside of my knowledge/practice, I'm afraid, too custom/advanced, haven't done it myself.
amtech
amtechOP7mo ago
alright thanks for the help
Want results from more Discord servers?
Add your server