Closed zaru closed 1 year ago
Thanks for the great library.
Fixed a bug that when the multiple option was enabled, it was not enabled even if the choice was selected again.
<select multiple="multiple">
document.querySelector('select').selectedOptions.length
1
0
Thanks for the great library.
Fixed a bug that when the multiple option was enabled, it was not enabled even if the choice was selected again.
Steps to Reproduce
<select multiple="multiple">
document.querySelector('select').selectedOptions.length
equals1
document.querySelector('select').selectedOptions.length
equals0
document.querySelector('select').selectedOptions.length
equals0
// NG, expect 1