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

Conversation

devversion
Copy link
Member

  • At the moment we call the select(-1) function when clearing, but that will cause problems, because it will stuck with the matches.
  • There is no need of calling the select(-1) function, we should just clear the loading indicator on an synchronous query.
    On an async query, the loading indicator will be set by default to false on completion.

This fixes the issue, which required two clicks on a list item after cleared the autocomplete through the button.

Fixes #7180

At the moment we calling the `select(-1)` function, but that will cause problems, because it will stuck.
There is no need of calling the `select(-1)` function, we should just clear the loading indicator on an synchronous query.
On an async query, the loading indicator will be set by default to false on completion.

This fixes the issue, which required two clicks on a list item after cleared the autocomplete through the button.

Fixes angular#7180
@devversion devversion added the needs: review This PR is waiting on review from the team label Mar 1, 2016
@robertmesserle
Copy link
Contributor

LGTM

@devversion devversion added pr: merge ready This PR is ready for a caretaker to review and removed needs: review This PR is waiting on review from the team labels Mar 2, 2016
ThomasBurleson pushed a commit that referenced this pull request Apr 1, 2016
At the moment we calling the `select(-1)` function, but that will cause problems, because it will stuck.
There is no need of calling the `select(-1)` function, we should just clear the loading indicator on an synchronous query.
On an async query, the loading indicator will be set by default to false on completion.

This fixes the issue, which required two clicks on a list item after cleared the autocomplete through the button.

Fixes #7180

Closes #7354
ThomasBurleson pushed a commit that referenced this pull request Apr 1, 2016
At the moment we calling the `select(-1)` function, but that will cause problems, because it will stuck.
There is no need of calling the `select(-1)` function, we should just clear the loading indicator on an synchronous query.
On an async query, the loading indicator will be set by default to false on completion.

This fixes the issue, which required two clicks on a list item after cleared the autocomplete through the button.

Fixes #7180

Closes #7354
gmoothart pushed a commit to gmoothart/material that referenced this pull request Apr 5, 2016
At the moment we calling the `select(-1)` function, but that will cause problems, because it will stuck.
There is no need of calling the `select(-1)` function, we should just clear the loading indicator on an synchronous query.
On an async query, the loading indicator will be set by default to false on completion.

This fixes the issue, which required two clicks on a list item after cleared the autocomplete through the button.

Fixes angular#7180

Closes angular#7354
@devversion devversion deleted the fix/autocomplete-clear-issues branch April 19, 2016 19:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

autocomplete requiere double click in text
3 participants