import wixData from 'wix-data'; $w.onReady(function () { $w('#selectionTagsID').onChange(() => { const selectedTag = $w('#selectionTagsID').value; let filter = wixData.filter(); if (selectedTag.length > 0) { filter = filter.hasSome("industry", selectedTag); } $w('#datasetID').setFilter(filter); }) });