Hi! I want to set a filter selecting the year and month with a dropdown, I already have filter with dropdown, but doesn’t work with the date on the database.
export function dropdown1_change(event) {
let yearDate = $w('#dropdown1').value;
let monthDate = $w('#dropdown3').value;
let searchDate = new Date(yearDate, monthDate)
console.log(searchDate)
$w("#dataset1").setFilter(wixData.filter().eq("fecha", searchDate));
}