This fixes a bug in typeahead where if you set typeahead-editable="false" and then type an exact match into the typeahead and select it, the parse error key does not get reset, and as a result the form looks invalid. This issue was documented in angular-ui/bootstrap#3166 and fixed in https://github.com/angular-ui/bootstrap/commit/c0a9c707903fa3dfc662887cd348ee2b0bf13f85. I simply ported the exact code and unit test into angular-foundation.
This fixes a bug in typeahead where if you set
typeahead-editable="false"
and then type an exact match into the typeahead and select it, theparse
error key does not get reset, and as a result the form looks invalid. This issue was documented in angular-ui/bootstrap#3166 and fixed in https://github.com/angular-ui/bootstrap/commit/c0a9c707903fa3dfc662887cd348ee2b0bf13f85. I simply ported the exact code and unit test into angular-foundation.