-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Error when select (click or enter) option on MdAutocomplete #9094
Comments
Please share some code and probably a demo? |
I cannot reproduce that issue, since the input element should be always available on mouseUp. |
Thanks @devversion. I detect the problem: When you put something like this: <md-autocomplete
md-floating-label=""
></md-autocomplete> You receive previus error. If you don't detect the problem, can you provide me a codepen.io base example for md-autocomplete? |
Hey @pablorsk - Thanks for your response. I was not able to detect any errors, while setting Here is a codepen demo (with some simple formatting): |
Able to reproduce the error when setting floating label with timeout. Please find the plunker. Getting the error 1 and 2 when selecting option from dropdown and error 3 when clearing the selected option on clicking the cross icon in input.
|
I have an identical error. It isn't the timeout function, it's binding md-floating-label to a controller property. In other words, if md-floating-label is a bound property, then you will get the errors that @debasispanda is seeing above. The plunker demonstrates this even without the timeout. |
Actual Behavior:
What is the issue? *
What is the expected behavior?
Angular Versions: *
Angular Version:
1.7.5Angular Material Version:
1.1.0-rc.5Additional Information:
Browser Type: *
ChromeBrowser Version: *
51OS: *
UbuntuStack Traces:
When I use ENTER, only sencond error appear.
Maybe is related with #8111
The text was updated successfully, but these errors were encountered: