-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix(resetSearchInput) change search box doesn't clear after selecting #1725
Conversation
Previously when the closeOnSelect was set to false the resetSearchInput was not executed after selecting a item even when resetSearchInput was set to true. This fix will always execute the resetSearchInput when set to true even with the closeOnSelect set to false. Fixes angular-ui#1484
|
||
}); | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove this extraneous empty line?
Can you shorten the tests by using |
I think this is better? |
Much better, will review the code changes when I get a chance and merge, thanks! 😃 |
Let me know if I need to make a change. |
…ed set to true." This reverts commit cfb50fe.
Sorry @user378230 for all the commit stuff. New to git and didn't realize i was still pushing it here. |
@Jefiozie think something went wrong here, can you rebase? or redo this PR? Sorry I've been away so haven't had a chance to look at PRs recently. |
I will rewrite it probably the best 😄 |
I think also this will resolve #1384 ? 😃 |
@user378230 #1746 is the new PR for this issue. 😄 |
fix(resetSearchInput) change search box doesn't clear after selecting
Previously when the closeOnSelect was set to false the resetSearchInput was not executed after selecting a item even when resetSearchInput was set to true.
This fix will always execute the resetSearchInput when set to true even with the closeOnSelect set to false.
Fixes #1484