I am trying to implement very simple filter using Velo Code but it doesn’t work. Could someone help me with this issue, please?
Here is my function
$w.onReady(function () {
let jobTitle = 'Product'
$w('#Filter').text = jobTitle;
$w('#myDataset').setFilter(wixData.filter().contains('Job Title', jobTitle))
});
Based on this filter the dataset should return 2 records but it returns nothing.
Here is screenshot of data in the Collection. So the data are valid.