-
Notifications
You must be signed in to change notification settings - Fork 1.8k
ngModel, required by directive 'input', can't be found! #526
Comments
+1 , i am facing same issue ..using Angular 1.3.7 |
+1 |
kedarbe,MBentley1976 I have this problem since december... Its just a default demo examples... annoying |
Hey Petterfreak, it works for me when using a single select control. You just have to be sure that the model value bound to control (in your example above that would be address.selected) is initialized as null/undefined. I have not been able to get this to work on a multi-select control. In that instance I wrote a custom validator. For now I only need this in one place, so it's in that form's controller. I've since written an extension of this control, so I'll move it up into there as needed. |
The project which I'm working on uses a lot of ui-selects (including multiselects) and every one of them throws this error. I'm using Angular 1.2.28 and ui-select 0.9.6 (the same problem with latest 0.11.2). @MBentley1976's suggestion doesn't work for me. @petterfreak did you find a solution? |
Hi Lukaszgrolik, Yes, i found a "solution"... The problem was my fault :). Do you use this module in your app? https://github.com/luisfarzati/ng-bs-daterangepicker If you don't use it then my advice for you : you should check all of your modules |
Yeah, that's exactly it :) Thanks! |
Hi,
I'm trying to use the default ui-select example in my app, but the ui-select doesnt show up. (None of them work)
Console error in every cases:
1.
Error: [$compile:ctreq]
Controller 'ngModel', required by directive 'input', can't be found!
TypeError: Cannot read property 'source' of undefined
I'm using Angular 1.3.6
The text was updated successfully, but these errors were encountered: