In the example given in the documentation, the avatar is set via LeadingIconCss:
<SfChip ID="chip-avatar" EnableDelete="true">
<ChipItems>
<ChipItem Text="Anne" LeadingIconCss="anne"></ChipItem>
...
</ChipItems>
</SfChip>
<style>
#chip-avatar .anne {
background-image: url('./anne.png')
}
</style>
This is impractical if there are lots of people that could be in the chipitems list, and the images must be in the wwwroot.
Is there a way to dynamically assign an image to use as an avatar (e.g. from a byte string that has been loaded from a database) in a similar way that images can be displayed via byte strings?
string imagesrc = "data:image/png;base64," + base64String;
<div class="image">
<img src="@imagesrc" />
</div>
Thanks
Andrew