Skip to content

Commit

Permalink
fix(typeahead): reset 'parse' validation key angular-ui#3166
Browse files Browse the repository at this point in the history
  • Loading branch information
reda-alaoui committed May 4, 2015
1 parent dfdf8f6 commit dce48b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/typeahead/typeahead.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ angular.module('ui.bootstrap.typeahead', ['ui.bootstrap.position', 'ui.bootstrap
model = parserResult.modelMapper(originalScope, locals);
$setModelValue(originalScope, model);
modelCtrl.$setValidity('editable', true);
modelCtrl.$setValidity('parse', true);

onSelectCallback(originalScope, {
$item: item,
Expand Down

0 comments on commit dce48b1

Please sign in to comment.