This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
strange behavior using ng-messages inside md-auto-complete #7635
Labels
needs: investigation
The cause of this issue is not well understood and needs to be investigated by the team or community
P4: minor
Minor issues. May not be fixed without community contributions.
Milestone
Hello.
I'm trying to create an md-auto-complete with ng-messages that will show a required message if the user did not enter a text in the md-auto-complete input field.
I created a jsfiddle at https://jsfiddle.net/kfirufk/zoyxq9g6/3/
first problem, the required error message is shown at all times, even when i enter text in the md-auto-complete text field. in the jsfiddle i also print autocompleteForm.autocomplete.$error that shows that when i type text in the text input, the required error is removed from the returned object.
second problem, if i don't have md-floating-label added to the md-auto-complete, then the ng-messages div is not shown at all.
in general just copied the example on angular material website and modify it a bit.
any ideas ?
using angularjs 1.5.1 with angular material 1.1.0-rc1
The text was updated successfully, but these errors were encountered: