Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[object Object] in new v0.1.1 #24

Closed
simon-jouet opened this issue Feb 25, 2014 · 2 comments
Closed

[object Object] in new v0.1.1 #24

simon-jouet opened this issue Feb 25, 2014 · 2 comments
Assignees
Labels

Comments

@simon-jouet
Copy link

Hi,

same as 3 month ago in #17 and #15 if the model is set the value displayed will be [object Object] I made a plunkr here http://plnkr.co/edit/rtyGVJoWgKHhFobJceZ3?p=preview

It's the same one as the one given as an example but $scope.selectedNumber = { num: 'one' };

Any ideas ?

Thanks,
Simon

@Siyfion
Copy link
Owner

Siyfion commented Feb 25, 2014

Yup, I know exactly why and it was warned in the changelog file.

@Siyfion Siyfion closed this as completed Feb 25, 2014
@Siyfion Siyfion self-assigned this Feb 25, 2014
@Siyfion
Copy link
Owner

Siyfion commented Feb 25, 2014

As an aside, you may well set the value locally, but if you are using a remote source, how is this directive supposed to get the data associated with the key you specify from the source?

For additional details, see here: angular-ui/bootstrap#274
And this is for a typeahead control that is completely written for angular, so this, which simply wraps Twitter's version doesn't have much of a chance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants