VectorImage src doesn't apply in Repeater

Hi,
I have a repeater with vector image, according to the itemData the vector image src should be changed. But it doesn’t seem to work inside the repeater.

I’ve tried different sources, and nothing seems to be working, even when I’m not using the itemData.

Is there by any chance an issue with vector image inside the repeater? as I have the same logic without the repeater and it’s working well.

Can you please help me?


trialsRepeater.onItemReady(($item, itemData, index) => {
const title = $item(‘#title’);
const sponsor = $item(‘#trialSponsor’);
const phases = $item(‘#trialPhase’);
const rankMeter = $item(‘#rankMeter’);

title.text = itemData.title || ‘N/A’;
sponsor.text = itemData.sponsor_name || ‘—’;
phases.text = itemData.phases || ‘—’;
rankMeter.src = ‘wix:vector://v1/29f63d_eb07000a230f4035b5495061e9bda037.svg/rank13-15.svg’
});

Hi,
I’ve tried to attach a vector art to a repeater and was able to do so without any issues on my end.
Why do you try to add the vector art to the repeater hard-coded? It seems that you wish to have the same vector art for all repeater items. You can simply drag it to the repeater element and it will be added to the item automatically.

Best,
Tal.

I have dragged a the vector to the repeater and it does copy, but the design will not copy across all the grid boxes in the repeater. Is there a fix for this as well?