Is there a way to store an array into database and filter it with multiple checkbox?
say I have a field called colors and will be storing an array or comma separated string. I want to set filter when a checkbox is clicked.
for instants my field value is ‘red, blue, yellow’
checkboxes are
red (checked)
green (unchecked)
blue (checked)
yellow (checked)
it should be able to return the result.
#dataset.setFilter().hasSome(“colors”, [‘red’,‘blue’,‘yellow’]) will not work
I need a better solution