fix multiselect
This commit is contained in:
parent
c23cac3322
commit
604f5783fd
|
@ -109,6 +109,9 @@
|
||||||
var id='ms'+multiSelectId+'-option-'+item;
|
var id='ms'+multiSelectId+'-option-'+item;
|
||||||
var input=$('<input type="' + inputType + '"/>');
|
var input=$('<input type="' + inputType + '"/>');
|
||||||
input.attr('id',id);
|
input.attr('id',id);
|
||||||
|
if(inputType === 'checkbox') {
|
||||||
|
input.addClass('checkbox');
|
||||||
|
}
|
||||||
if(settings.singleSelect) {
|
if(settings.singleSelect) {
|
||||||
input.attr('name', 'ms'+multiSelectId+'-option');
|
input.attr('name', 'ms'+multiSelectId+'-option');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue