formly-js / angular-formly

JavaScript powered forms for AngularJS
http://docs.angular-formly.com
MIT License
2.22k stars 405 forks source link

Implementation with ui-select works but give error #595

Closed estvmachine closed 8 years ago

estvmachine commented 8 years ago

Hi, i want to eliminate the error: Error: [$compile:ctreq] Controller 'select', required by directive 'ngOptions', can't be found!

image

Who appears in the next example. The error you can read in the console. http://jsbin.com/hakotah/8/edit?js,output

benoror commented 8 years ago

Hi @estvmachine! Thanks for your interest in angular-formly. I'm sure that this issue is not mcaused by angular-formly.

I'm going to go ahead and close this issue because the github issues for this project are reserved for bug reports and feature requests. See you on chat! Thanks!

benoror commented 8 years ago

@estvmachine a google search gave me these related issues:

Indeed downgrading to Angular 1.3 gets rid of the error:

Cheers!

LeonSkrilec commented 8 years ago

Actually i got this error when placing ng-options on a non select DOM element. Might be helpful to someone debugging.

hustshawn commented 8 years ago

Can someone tell how to fix it in using angular-formly?

vamsikrishnamannem commented 7 years ago

I am also getting the same error.

ViCe2099 commented 7 years ago

When you are setting the field type you should not extend 'select', if you do so you will have this error.