lou / multi-select

A user-friendlier drop-in replacement for the standard select with multiple attribute activated.
loudev.com
MIT License
1.9k stars 437 forks source link

prop() instead of attr() for regular control #339

Closed utilmind closed 4 years ago

utilmind commented 4 years ago

The proper way to select values in prop(), instead of attr(). Values which has been set up with attr() cannot be cleared!! And this is big problem that cost more than 10 hours of my life today and before when I did not believe in this bug and tried many workarounds!

utilmind commented 4 years ago

I realized that patch by AhmadRajabi is even better than mine. Use this: https://github.com/lou/multi-select/pull/315