我使用select2从下拉列表中选择多个选项,但是select2可以选择完整的optgroup吗?我想要的是当用户选择选项组时,应选择所有子选项.我想用jQuery做到这一点Select2.我怎么能这样做?
Select2
html jquery jquery-select2
html ×1
jquery ×1
jquery-select2 ×1