1
1
/**
2
2
* --------------------------------------------------------------------------
3
3
* CoreUI PRO (v3.4.0): multi-select.js
4
- * Licensed under MIT (https://coreui.io/license)
4
+ * Licens (https://coreui.io/pro /license)
5
5
* --------------------------------------------------------------------------
6
6
*/
7
7
@@ -21,7 +21,7 @@ import SelectorEngine from './dom/selector-engine'
21
21
*/
22
22
23
23
const NAME = 'mutli-select'
24
- const VERSION = '3.4.0'
24
+ const VERSION = '3.4.0-alpha.0 '
25
25
const DATA_KEY = 'coreui.mutli-select'
26
26
const EVENT_KEY = `.${ DATA_KEY } `
27
27
const DATA_API_KEY = '.data-api'
@@ -616,7 +616,7 @@ class MultiSelect {
616
616
_selectOption ( value ) {
617
617
SelectorEngine . findOne ( `option[value="${ value } "]` , this . _element ) . selected = true
618
618
619
- // TODO: nie podoba mi się to rozwiązanie
619
+ // TODO: improve this solution
620
620
const option = SelectorEngine . findOne ( `[data-value="${ value } "]` , this . _optionsElement )
621
621
if ( option ) {
622
622
option . classList . add ( CLASS_NAME_SELECTED )
@@ -630,7 +630,7 @@ class MultiSelect {
630
630
_unSelectOption ( value ) {
631
631
SelectorEngine . findOne ( `option[value="${ value } "]` , this . _element ) . selected = false
632
632
633
- // TODO: nie podoba mi się to rozwiązanie
633
+ // TODO: improve this solution
634
634
const option = SelectorEngine . findOne ( `[data-value="${ value } "]` , this . _optionsElement )
635
635
if ( option ) {
636
636
option . classList . remove ( CLASS_NAME_SELECTED )
0 commit comments