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

fix(typeahead): reset 'parse' validation key #3406

Closed
wants to merge 1 commit into from
Closed

fix(typeahead): reset 'parse' validation key #3406

wants to merge 1 commit into from

Conversation

dlukez
Copy link
Contributor

@dlukez dlukez commented Mar 19, 2015

When typeahead-editable="false" and we select a perfect match from the results list, the $parsers aren't called (due to no change in the view value), which results in the 'parse' error key not being reset.

As with the 'editable' key, we should reset this once an item is selected because we know we have a valid model matching the view value.

Closes #3166

When typeahead-editable="false" and we select a perfect
match from the results list, the $parsers aren't called,
which results in the 'parse' error key not being reset.

As with the 'editable' key, we should reset this once
an item is selected because we know we have a valid
model matching the view value.

Closes #3166
@wesleycho
Copy link
Contributor

Landed as c0a9c70, thanks!

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

Successfully merging this pull request may close these issues.

Typeahead bug when selecting a "perfect match" from the dropdown
3 participants