This repository has been archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Typeahead does not support ng-model-options="{getterSetter: true}" #3823
Labels
Milestone
Comments
Looks like this fix works. If we replace this line:
everything works fine, all tests pass and now typeahead knows how to work with |
@wesleycho your fix works for me. Thank you! Your approach is much more clearer. |
openstack-gerrit
pushed a commit
to openstack-archive/merlin
that referenced
this issue
Jul 31, 2015
This patch adds patched version of angular-ui/bootstrap lib. We need to patch it because of typeahead - one of bootstrap components. This component does not support ngModelOptions="{getterSetter: true}", which we need for barricade.js integration. Angular-ui/bootstrap upstream bug: angular-ui/bootstrap#3823 Until this bug is not fixed in upstream version, we need to use this patched version of library. Change-Id: I30a5d52d3a638fa2d7ca110d8824682c3d205611
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
AngularJS: v1.3.
ui-bootstrap: v 0.13.
Looks like when I set
ng-model-options="{getterSetter: true}"
typeahead for some reasons replaces getter/setter method with selected value.Here the plankr: http://plnkr.co/edit/a3Ld9eVmysrt8RsyzbhX?p=preview
Steps:
0) Note from the sources that
suggestions.value
is a getter/setter.suggestions.value
is not a function any more. It is a choosen value from typeahead suggestion.The text was updated successfully, but these errors were encountered: