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.
Clear button shown on disabled select #980
Closed
Description
I have ui-select with ng-disabled =false.
Select itself behave as expected - so i cannot select another value.
But clear button (allow-clear=true) is still shown and working!
Suggestion:
I have fixed it in my own app - by changing setAllowClear function to set $select.allowClear to false if $select.disabled is true.
Next step is to call setAllowClear function from inside of $select.disabled watcher.
Please evaluate this bug and fix it.
thanks
Metadata
Metadata
Assignees
Labels
No labels