ui-select icon indicating copy to clipboard operation
ui-select copied to clipboard

Some times i have error [ui.select:transcluded] Expected 1 .ui-select-choices but got '0'.

Open a-reznic opened this issue 12 years ago • 30 comments

Error: [ui.select:transcluded] Expected 1 .ui-select-choices but got '0'. at http://localhost:63342/test/src/js/select.js:77:14 at http://localhost:63342/test/src/js/select.js:804:19 at publicLinkFn (http://localhost:63342/test/src/js/libs/angular.js:5933:29) at boundTranscludeFn (http://localhost:63342/test/src/js/libs/angular.js:6059:21) at controllersBoundTransclude (http://localhost:63342/test/src/js/libs/angular.js:6669:18) at link (http://localhost:63342/test/src/js/select.js:786:9) at nodeLinkFn (http://localhost:63342/test/src/js/libs/angular.js:6648:13) at http://localhost:63342/test/src/js/libs/angular.js:6850:13 at http://localhost:63342/test/src/js/libs/angular.js:8050:11 at wrappedCallback (http://localhost:63342/test/src/js/libs/angular.js:11498:81)

+1 same here

UPDATE angular: 1.5.7 ui-select: 0.18.1

cc: @user378230

maksad avatar Aug 04 '16 13:08 maksad

Please include your angular and ui select library versions if you're going to leave +1s...

Note only the latest version is supported and this issue still lacks a plunkr.

user378230 avatar Aug 04 '16 13:08 user378230

I have made one sample working plunker using bootstrap modal(with angular 1.5.8, jQuery 3.1.0 bootstrap 3.3.7, ui-bootstrap 2.0.1, latest ui-select), those who are facing similar issue can try to regenerate issue in this. https://plnkr.co/edit/K7XaKz?p=preview

imaksp avatar Aug 08 '16 08:08 imaksp

FROM: <i class=\"caret pull-right\" ng-click=\"$select.toggle($event)\"></i> TO: <i class=\"caret pull-right\"></i>

This will resolve the issue when clicking on the ui-select arrow

estundidher avatar Sep 08 '16 08:09 estundidher

The issue is still present in the 0.19.4 version

Angular 1.5.8 Angular Bootstrap : 2.1.2

EDIT : here is a plunkr with the issue

https://plnkr.co/edit/gnNLuuII55N4zb3paQtR?p=preview

julien-vu avatar Sep 19 '16 09:09 julien-vu

Having this issue with ui-select version 0.11.2 after upgrading from AngularJS 1.4.8 to 1.5.8. Bootstrap version is 3.3.6.

Edit: here's a plunker with the issue I'm seeing. The field doesn't render at all. http://plnkr.co/edit/ZgqS05zgSgoEpvmks6io?p=preview

I'm not able to update the version of ui-select because I'm integrating code from another team so it would take months. They're on an older version of angular, so they don't have these issues.

lizschwab avatar Oct 05 '16 23:10 lizschwab

Getting error "Error: [ui.select:transcluded] Expected 1 .ui-select-match but got '0'." with ui-select version 0.14.1 as using with Angular 1.6.1.

manveer19188 avatar Apr 10 '17 13:04 manveer19188

Finally resolved by adding the class ui-select-match and ui-select-choices to <ui-select-match> and <ui-select-choices> tags respectively.

manveer19188 avatar Apr 10 '17 14:04 manveer19188

My error was caused by a validation directive on the form, once the validation directive was removed everything worked.

Jakobovski avatar Sep 01 '17 19:09 Jakobovski

I still receive this error on 0.19.6 using kibana 6.2.3's filter_field_select.js file. Works if I remove the groupby

exit99 avatar Apr 25 '18 17:04 exit99