top of page

Forum Posts

Kiara Prescod
Nov 02, 2021
In Coding with Velo
Hi I have a code that filters categories but I need to see all options this is my code please help. import wixData from 'wix-data'; $w.onReady(function () { $w('#dropdown1').onChange(() => { const selectedTag = $w('#dropdown1').value; let filter = wixData.filter(); if (selectedTag.length > 0) { filter = filter.hasSome("subtitle", selectedTag); } $w('#dataset1').setFilter(filter); }) }); please tell me where to add, thanks in advance
0
6
59

Kiara Prescod

More actions
bottom of page