fabianlindfors / multi.js

A user-friendly replacement for select boxes with the multiple attribute enabled
https://fabianlindfors.se/multijs
MIT License
953 stars 76 forks source link

Method to disable and enable the select box? #67

Open genseirin opened 10 months ago

genseirin commented 10 months ago

Is there a way to programmatically disable the box? I set disabled dynamically on the select element (depending on the value of other input elements) but Multi.js doesn't seem to pick it up. The simplest solution would be a method in the API to turn it off and on.

Thanks!

ikus060 commented 4 months ago

I have the same usecase here.