Hi, I have a dataset( #dynamicDataset) into a Table that I want to filter data based into a Dropdown selection. I have include the string of the possible options as itens into the dropdown. The correspondent dataset column is (“Center”) where it should match the dropdown values. But nothing is happening and I can find why on debug.
This is my code:
import wixData from ‘wix-data’;
// For full API documentation, including code examples, visit Velo API Reference - Wix.com
$w.onReady( function () {
//TODO: write your page related code here…
});
export function dropdown1_change(event) {
$w(“#dynamicDataset”).setFilter(wixData.filter()
.contains(“Center”, $w(“#dropdown1”).value));
}