microsoft / powercat-creator-kit

This toolkit helps create well-designed Power App experiences on the web & mobile. It contains a component library; PCF controls and other utilities that increase developer productivity.
MIT License
321 stars 53 forks source link

[BUG]: Details list clickableimage cell type icon color not functional #407

Open e-gallis opened 1 year ago

e-gallis commented 1 year ago

Describe the bug In the details list Image & Clickable Image documentation (link) the example shows a Clickable image column where each icon has its own color. That color seems to come from the ImageColor column in the rows data. After testing that sample in the same conditions, the icon color stays indefinitely black and can't be changed. Is there a ColImageColorColumn property to set the column that holds the color for the icon? How do you set the color for an icon in a clickableimage cell type column?

To Reproduce Steps to reproduce the behavior:

  1. Go to https://learn.microsoft.com/en-us/power-platform/guidance/creator-kit/detailslist#image--clickable-image
  2. Reproduce the sample
  3. The icons don't have any color in the list

Expected behavior I suppose there should be a ColImageColorColumn property to set the column that holds the color for the icons in the data.

AB#961

gruering commented 6 months ago

I stumbled across the same documentation error. It also works for image columns if the color is set via ColTagColorColumn as with tag columns.