Open ltdeta opened 3 years ago
Please do not set the multipleWidth option statically to px
multipleWidth
this.$drop.find('.multiple').css('width', "".concat(this.options.multipleWidth, "px"));
It would be better to pass the unit with in the option
this.$drop.find('.multiple').css('width', this.options.multipleWidth);
example1: $.multipleSelect( { multiple: true, multipleWidth: '230px' } );
$.multipleSelect( { multiple: true, multipleWidth: '230px' } );
example2: $.multipleSelect( { multiple: true, multipleWidth: '100%' } );
$.multipleSelect( { multiple: true, multipleWidth: '100%' } );
Please do not set the
multipleWidth
option statically to pxIt would be better to pass the unit with in the option
example1:
$.multipleSelect( { multiple: true, multipleWidth: '230px' } );
example2:
$.multipleSelect( { multiple: true, multipleWidth: '100%' } );