From dce48b1787df881a05374b50645f8c84e400c31d Mon Sep 17 00:00:00 2001 From: reda-alaoui Date: Mon, 4 May 2015 16:23:25 +0200 Subject: [PATCH] fix(typeahead): reset 'parse' validation key #3166 --- src/typeahead/typeahead.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/typeahead/typeahead.js b/src/typeahead/typeahead.js index 3e3f79a4dc..9f168fc117 100644 --- a/src/typeahead/typeahead.js +++ b/src/typeahead/typeahead.js @@ -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,