Skip to content

option multipleWidth with more flexibility #576

@ltdeta

Description

@ltdeta

Please do not set the multipleWidth option statically to px

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' } );
grafik

example2: $.multipleSelect( { multiple: true, multipleWidth: '100%' } );
grafik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions