I’m linking to another dynamic page via a dropdown. Basically, you navigate through the dynamic pages by selecting a choice on the dropdown. all the dynamic pages load perfectly when selected via a link on my home page. but navigating via this dropdown causes an error
Help needed:
Any idea why this
export function dropdown1_change(event) {
wixLocation.to('/station-profile-data/${$w("dropdown1").value}');
}
is returning these:
DatasetError: Operation (onReady) is not allowed because the field used to build this page’s URL is empty
DatasetError: The dataset cannot filter by the dynamic dataset because the field used to build this page’s URL is empty
In the picture below, I’m actually trying to replicate the function of the Wix dynamic page selector with the dropdown showing right above it.
Using the Wix tool displays my pages perfectly. Using the dropdown I made returns the error above: