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’
});