hello Guys,
I’m using a repeater that connects to the Wix database. And the repeater has a button that connects with a field in the database. When you click on the button the link is opening in another tab and I wanted to open it on the same screen.
I’m using a repeater that connects to the Wix database. And the repeater has a button that connects with a field in the database. When you click on the button the link is opening in another tab and I wanted to open it on the same screen.
//button 1 -
if (event.target.label === 'Fotobiomodulação') {
console.log("Fotobiomodulação")
console.log(event.target.id)
let filter = wixData.filter();
if (event.target.id.length > 0) { filter = filter.hasSome("tagSubMenu", event.target.label);}
// when you click button 1 it makes a filter and shows the cards in the repeater
// which also has a button. And it's on that button that I can't open the link on the same page.
$w('#dataset1').setFilter(filter).then((result) => {
let data =
console.log(result)
$w('#preloader').collapse();
$w("#produtosRepeater").expand();
$w("#showmore").show();
});