This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
ui-select multiple disabled state hides placeholder text incorrectly #1667
Closed
Description
Bug description:
When using ui-select in
multiple
mode, if ui-select
is disabled, the ui-select-match
placeholder text is incorrectly hidden using ng-hide
Multiple, placeholder text, ui-select enabled
Multiple, placeholder text, ui-select disabled
This behavior works correctly for non-multiple ui-selects
Link to minimally-working plunker that reproduces the issue:
http://angular-ui.github.io/ui-select/demo-tagging.html
- Clear values from input
- Click on "Disable ui-select"
- Actual: placeholder text disappears
- Expected: placeholder text remains
Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS
Angular: 1.5.0
UI-Select: 0.18.0
Fix
Remove this ng-hide
from the select-multiple
template https://github.com/angular-ui/ui-select/blob/master/src/bootstrap/select-multiple.tpl.html#L12
There is no equivelant ng-hide for the non-multiple select
template https://github.com/angular-ui/ui-select/blob/master/src/bootstrap/select.tpl.html
Metadata
Metadata
Assignees
Labels
No labels