Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(fix) remove handle click behaviour on single mode #457

Merged
merged 2 commits into from
Jan 17, 2017

Conversation

lzoubek
Copy link
Contributor

@lzoubek lzoubek commented Sep 30, 2016

The issue:

I am using SelectComponent with multiple=false allowClear=true
When I set active programatically and then user clicks remove icon, remove event is not emitted. This is because wrong property was passed to remove function.

This PR then also prevents opening up options when user clicks remove icon - this happened because click event was not caught and was propagated to parent element.

Pass correct active item when remove handle is clicked in single mode.
Prevent dropdown popup when clicking on remove handle.
@lzoubek
Copy link
Contributor Author

lzoubek commented Oct 13, 2016

Hello,
Is there a plan to merge this PR?

@valorkin valorkin merged commit de2f495 into valor-software:development Jan 17, 2017
@valorkin
Copy link
Member

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants