You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.
Repro: have choices.tpl.html that doesn't have ui-select-dropdown class in ui-select-choices
The offending code in uiSelectDirective.js only check the result for null-ness, not empty list (and tries to access the first element of the list)
// Support changing the direction of the dropdown if there isn't enough space to render it.scope.$watch('$select.open',function(isOpen){if(isOpen){dropdown=angular.element(element).querySelectorAll('.ui-select-dropdown');if(dropdown===null){return;}// Hide the dropdown so there is no flicker until $timeout is done executing.dropdown[0].style.opacity=0;
The text was updated successfully, but these errors were encountered:
Repro: have choices.tpl.html that doesn't have ui-select-dropdown class in ui-select-choices
The offending code in uiSelectDirective.js only check the result for null-ness, not empty list (and tries to access the first element of the list)
The text was updated successfully, but these errors were encountered: