Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(autocomplete): ngMessages should once again work with mdAutocomplete
Browse files Browse the repository at this point in the history
Closes #3401
  • Loading branch information
Robert Messerle committed Jun 26, 2015
1 parent 98e91ae commit 2ccbc9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/autocomplete/js/autocompleteDirective.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function MdAutocomplete ($mdTheming, $mdUtil) {
id="fl-input-{{$mdAutocompleteCtrl.id}}"\
name="{{inputName}}"\
autocomplete="off"\
ng-required="isRequired"\
ng-required="$mdAutocompleteCtrl.isRequired"\
ng-minlength="inputMinlength"\
ng-maxlength="inputMaxlength"\
ng-disabled="$mdAutocompleteCtrl.isDisabled"\
Expand All @@ -212,7 +212,7 @@ function MdAutocomplete ($mdTheming, $mdUtil) {
name="{{inputName}}"\
ng-if="!floatingLabel"\
autocomplete="off"\
ng-required="isRequired"\
ng-required="$mdAutocompleteCtrl.isRequired"\
ng-disabled="$mdAutocompleteCtrl.isDisabled"\
ng-model="$mdAutocompleteCtrl.scope.searchText"\
ng-keydown="$mdAutocompleteCtrl.keydown($event)"\
Expand Down

2 comments on commit 2ccbc9d

@ryananthonydrake
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When will this be merged through? Still issues with validation

@pccjamie
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Please sign in to comment.