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

[Dropdown] Fix the clearable setting that does'nt init a clearable dropdown #155

Merged
merged 1 commit into from
Oct 5, 2018

Conversation

prudho
Copy link
Contributor

@prudho prudho commented Oct 5, 2018

Description

This PR fixes the compatibility with semantic's clearable dropdown implementation. Setting clearable to true now display correctly the clear icon when there is a selected value.

Also, this PR does not clear the selection when you click on the toggle icon, as you might want to change a value without setting it empty in between.

@prudho prudho added lang/javascript Anything involving JavaScript state/awaiting-reviews Pull requests which are waiting for reviews labels Oct 5, 2018
@prudho prudho added this to the 2.6.3 milestone Oct 5, 2018
@prudho prudho requested review from ColinFrick and y0hami October 5, 2018 13:32
@y0hami y0hami added the type/bug Any issue which is a bug or PR which fixes a bug label Oct 5, 2018
Copy link
Member

@y0hami y0hami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@y0hami y0hami removed the state/awaiting-reviews Pull requests which are waiting for reviews label Oct 5, 2018
@y0hami y0hami merged commit beb0ffe into beta Oct 5, 2018
@y0hami y0hami deleted the clearable-dropdown-fix branch October 17, 2018 20:05
@y0hami y0hami mentioned this pull request Oct 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/javascript Anything involving JavaScript type/bug Any issue which is a bug or PR which fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants