Skip to content

Removing styling for select2-selection__placeholder class for multi-selects #5094

@alexweissman

Description

@alexweissman

I noticed that there are some CSS rules for select2-selection__placeholder in the default theme's SCSS assets:

https://github.com/select2/select2/blob/master/src/scss/theme/default/_multiple.scss#L19-L25
https://github.com/select2/select2/blob/master/src/scss/theme/default/_multiple.scss#L66

But for multi-select, placeholders are always displayed using the placeholder attribute on the search control. So, is there any point to these rules in _multiple.scss?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions