File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -511,7 +511,7 @@ class MultiSelect extends BaseComponent {
511
511
tag . dataset . value = value
512
512
tag . innerHTML = text
513
513
514
- const closeBtn = document . createElement ( 'span ' )
514
+ const closeBtn = document . createElement ( 'button ' )
515
515
closeBtn . classList . add ( CLASS_NAME_TAG_DELETE , 'close' )
516
516
closeBtn . setAttribute ( 'aria-label' , 'Close' )
517
517
closeBtn . innerHTML = '<span aria-hidden="true">×</span>'
@@ -655,10 +655,6 @@ class MultiSelect extends BaseComponent {
655
655
return
656
656
}
657
657
658
- if ( this . _selection . length === 0 && ( this . _config . selectionType === 'tags' || this . _config . selectionType === 'text' ) ) {
659
- this . _searchElement . removeAttribute ( 'size' )
660
- }
661
-
662
658
if ( this . _selection . length > 0 && ! this . _config . multiple ) {
663
659
this . _searchElement . placeholder = this . _selection [ 0 ] . text
664
660
this . _selectionElement . style . display = 'none'
Original file line number Diff line number Diff line change 211
211
}
212
212
213
213
.form-multi-select-tag-delete {
214
+ padding : 0 ;
214
215
margin-left : 6px ;
215
- cursor : pointer ;
216
+ border : 0 ;
216
217
}
217
218
218
219
.form-multi-select.show {
You can’t perform that action at this time.
0 commit comments