https://www.catch-world.com/copy-2-of-example-3-1 this is my site, but the problem is the repeater repeat a filter data more than one so please help me here is the code what i use
import wixData from ‘wix-data’;
$w.onReady( function () {
uniqueDropDown1();
});
export function dropdown1_change(event,$w) {
CityFilter()();
}
function CityFilter (){
$w(“#dataset2”).setFilter( wixData.filter()
.eq(“states”, $w(“#dropdown1”).value)
);
}
export function dropdown2_change (event,$w) {
CFilter()();
}
function CFilter (){
$w(“#dataset2”).setFilter( wixData.filter()
.eq(“districts”, $w(“#dropdown2”).value)
);
}