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 not resetting value when blurred #1019

Closed
ghost opened this issue Dec 12, 2016 · 2 comments · Fixed by #1046
Closed

Dropdown not resetting value when blurred #1019

ghost opened this issue Dec 12, 2016 · 2 comments · Fixed by #1046

Comments

@ghost
Copy link

ghost commented Dec 12, 2016

Steps

  1. open a searchable dropdown.
  2. type in a search
  3. close the dropdown

Expected Result

The dropdown should display its value or the placeholder if no value is set.

Actual Result

The search string is displayed as value of the dropdown.

Version

0.62.1

Testcase

http://codepen.io/immerhungrig/pen/OboZmN

@levithomason
Copy link
Member

Thanks for the complete report :)

Looks like this was an oversight in SUIR that should be implemented. One clarification, the core SUI Dropdown clears the query onBlur but not onClose:

http://g.recordit.co/HEdl23PkpX.gif

@levithomason levithomason changed the title Dropdown not resetting value when closing Dropdown not resetting value when blurred Dec 13, 2016
@levithomason
Copy link
Member

levithomason commented Dec 13, 2016

I've updated the title and labeled this issue accordingly.

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

Successfully merging a pull request may close this issue.

1 participant