How to display icon as a column value?
Tom-ahawk opened this issue · comments
Tom-ahawk commented
David Vallee Delisle commented
This worked for me:
- data: icon
name: Trend
modify: |
'<ha-icon icon="' + x + '"/>'
Tom-ahawk commented
The latest update made this icon code going wrong. Now I see only "/> instead of the icon. Please advise.
Markus Meissner commented
please try without the modify statement, just use icon
as data and you should be fine
see:
flex-table-card/flex-table-card.js
Line 257 in d352468