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

Need the ability to keep the searched term at the search box after do the search (google behaviour) #5050

Closed
cicw opened this issue Oct 7, 2015 · 1 comment

Comments

@cicw
Copy link

cicw commented Oct 7, 2015

I have my md-autocomplete set as follow:

  • model: md-search-text="searchText"
  • items: md-items="item in performQuery(searchText)"
  • search (trigger): md-min-length="2"

Problem: when I select an item from the itens collection if I don´t clear the searchText model the window of itens collection pops again after the selection
but i need to keep the searched text there like google does with out this behaviour

How can I accomplish this?

@topherfangio
Copy link
Contributor

I believe this was a bug fixed in PR #4958. Can you please test against master and see if you still experience the issue?

If so, please provide a Codepen demonstrating the issue and I will reopen. Here are some links to get you started:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants