Seems like i had a small fault in my code wich didn’t change the currentItem from the dataset.
use thiscode for the onChange of the dropdown.
$w("#dataset1").setCurrentItemIndex($w("#dropdown1").selectedIndex).then(()=>{
wixLocation.to($w("#dataset1").getCurrentItem().link)
})
Here is set the current index of the dataset to the selected index from the dropdown and after this is done you get the currentitem link
Kind regards,
Kristof