material icon indicating copy to clipboard operation
material copied to clipboard

[master#5722449] md-autocomplete - md-not-found text doesn't show

Open evoker opened this issue 11 years ago • 2 comments

md-not-found doesn't work although it's defined.

When looking at the DOM, the code appears and it seems to check 3 variables: $mdAutocompleteCtrl.matches.length $mdAutocompleteCtrl.loading $mdAutocompleteCtrl.hidden

the first and second variable come up true when you enter a string that returns on matches but the third variable returns false. The list is hidden sure but the not found part shouldn't be subjected to the same check, no?

The same directive has an ng-hide property that again checks $mdAutocompleteCtrl.hidden.

I guess the hidden check is not working properly or a different check is needed to show this.

evoker avatar Aug 05 '15 11:08 evoker

+1

This reproduces in the first demo: https://material.angularjs.org/HEAD/#/demo/material.components.autocomplete

The issue looks like a duplicate of: https://github.com/angular/material/issues/3876

ghost avatar Aug 11 '15 09:08 ghost

Is there any quick fix ? We are in production and needs 0.10.1 because md-autocomplete also have a bug related to scrolling in 0.10.0 which got fixed in latest version.

piyushchauhan2011 avatar Aug 20 '15 16:08 piyushchauhan2011