Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Typeahead does not support ng-model-options="{getterSetter: true}" #3823

@pkarikh

Description

@pkarikh

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.

  1. Type "one" or "two"
  2. Note that suggestions.value is not a function any more. It is a choosen value from typeahead suggestion.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions