When a dropdown is set to filter a collection it automatically creates a label called “ALL” how do I change the label value if I want it to say anything other than “ALL”?
I used an input dropdown element and set it to filter my collection without any code (i.e. basic studio functionality) everything works great, but that created a label called ALL which is nice, but I want to change that label.
I tried to do that with some VELO, but I am not sure if the code is ok,
or the label “ALL” is not really a label (i.e not [0])
import wixData from “wix-data”;
$w.onReady(function () {
let opts = $w(“#dropdown1”).options;
opts[0].label = “כל הדוכנים”;
$w(“#dropdown1”).options = opts;});
I am sure this is some easy solution I am missing
But I didn’t find any info on that in the forums or Google.
Any help is appreciated,
Thanks