My repeater image is currently linked to my dynamic page and when clicked, it opens the page in the same window. What I am trying to achieve is when user clicks the image it opens the dynamic page in a new window. How do I go about achieving this?
This is my code but when I click it open a new tab but it shows the error that page not found and URL like this : https://orooms.in/home-profile/undefined}
$w(“#repeater1”).onItemReady( ($w, itemData, index) => {
$w("#image1").link = `https://orooms.in/home-profile/${itemData.HouseID}}`;
$w("#image1").target = "_blank";
} )