I tried to call refresh with new data (where disabled elements are filtered out) but it seems it does nothing if it’s been initially initialized with data attribute omitted i.e. from related html select element. Disabled elements are still visible although grey.
Thanks for reaching out!
Please share some of your relevant code, so I can see the exact usage.
That would help a lot.
Nevermind. I just thought there might be a built-in feature like in another plugin I would use. Something like a property data-hide-disabled=“true”.
I ended up with populating values via the ‘data’ property.