Material: autocomplete: ng-required does not work with AngularJS 1.7.6

Created on 30 Jan 2019  路  3Comments  路  Source: angular/material

Detailed Reproduction Steps:

AngularJS 1.7.6 breaks the ng-required handling - the value always is true as soon ng-required="false" is set

What is the expected behavior?

Should work like it was working with 1.7.5

What is the current behavior?

ng-required on mdAutocomplete does not work

  • AngularJS: 1.7.6
  • AngularJS Material: 1.1.12
  • OS: all
  • Browsers: all
fixed

Most helpful comment

[email protected] was released with bug fix

ngRequired: set error correctly when inside ngRepeat and false by default (5ad4f5, #16814, #16820)

https://github.com/angular/angular.js/blob/master/CHANGELOG.md#177-kingly-exiting-2019-02-04

All 3 comments

I just found an issue which might be connected: https://github.com/angular/angular.js/issues/16814 So I will for now wait for AngularJS 1.7.7

Yeah, I'd recommenced staying on 1.7.5 unless you really benefit from something in the 1.7.6 release.

[email protected] was released with bug fix

ngRequired: set error correctly when inside ngRepeat and false by default (5ad4f5, #16814, #16820)

https://github.com/angular/angular.js/blob/master/CHANGELOG.md#177-kingly-exiting-2019-02-04

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Dona278 picture Dona278  路  3Comments

epelc picture epelc  路  3Comments

PeerInfinity picture PeerInfinity  路  3Comments

ghost picture ghost  路  3Comments

WebTechnolog picture WebTechnolog  路  3Comments