SelectColumn it is possible to add allowHtml?
It is possible to add different color options like Form Select? thanks in advance

13 Replies
you can add any color you want as long you have a custom theme. Because filament css only has the colors that are used internally.
You need to wrap the values in
new HtmlString()
.this should work?



I think you still need the allowHtml() But probably not
and run npm run dev or npm run build to compile the css
SelectColumn::allowHtml does not exist
If I put the class manually here in option tag it works


oh, its a column. I thought you were trying to add other colors to the form component. My bad
Yeah, you switched from Form to Column 😅 SelectColumn doesn't support that
Btw is there any particular reason behind of the select column not having like the native option and allowhtml option?
Nobody did the work and implemented it 😅
Is this a good thing to PR or is it planned already for v4?
I don’t think it’s planned. If you want, go ahead.