With 0.3.0, when using ng-model, the value is not changed after autocomplete
Closed this issue · 5 comments
l2fprod commented
Hi,
The issue can be reproduced with the LIVE DEMO listed in https://github.com/Siyfion/angular-typeahead:
http://plnkr.co/edit/cMvm7Z4REuIP69Uk4Tzz?p=preview
- Type "s" in the model textfield
- Notice the model value changes to "s"
- In the typeahead dropdown, select "seven" and hit enter.
- The model value does not change
- -> it should have changed to "{"num": "seven"}
0.2.4 does not have the issue. It seems to come from this change: 5a82689
where getAllElements do not return any of the "typeahead:" event types.
regards,
-fred
reneolivo commented
I'm having the same issue!
I also left a comment about a rogue >
piyushbeli commented
I too have the same issue. Thanks I saw this post otherwise I was thinking that this is something from angular.
Siyfion commented
There's a fundamental issue with #76 that's causing this... It will need investigating, or reverting.
Siyfion commented
I've reverted the event binding code for the time being.
l2fprod commented
updated. tested. works fine, thanks!