OptimalBPM / angular-schema-form-dynamic-select

AngularStrap and AngularUI dynamic select implementation(static/sync/async/http, filters) for Angular Schema Form
MIT License
55 stars 45 forks source link

asyncCallback called twice #45

Closed eburi closed 9 years ago

eburi commented 9 years ago

I noticed that my asyncCallback get called twice.

I think it's due to the fact that populateTitleMap is called twiced. Once for the inner form-group and once for the ui-select-choices.

nicklasb commented 9 years ago

Yes. The select-choices is for refresh, and the outer is for the initialization. Both might not be required anymore.

nicklasb commented 9 years ago

Thanks again @eburi for your help!

Resolved in the 0.12.4-release.

Closing and thanks again!