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

Tooltip is not cleared for empty value if placeholder is there #4700

Closed
16 tasks
KarthikaMurugesh opened this issue Nov 26, 2016 · 1 comment
Closed
16 tasks

Comments

@KarthikaMurugesh
Copy link

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate
  • The issue still exists against the latest master branch of Select2
  • This is not a usage question (Those should be directed to the community)
  • I have attempted to find the simplest possible steos to reproduce the issue
  • I have included a failing test as a pull request (Optional)

Steps to reproduce the issue

  1. Enable placeholder for dropdown

  2. select a value

  3. Clear the value and check tooltip

Expected behavior and actual behavior

When I follow those steps, I see...
Previous selected value is in tooltip
I was expecting...
No tooltip in that case

Environment

Browsers

  • Google Chrome
  • Mozilla Firefox
  • Internet Explorer

Operating System

  • Windows
  • Mac OS X
  • Linux
  • Mobile

Libraries

  • jQuery version:
  • Select2 version:

Isolating the problem

  • This bug happens on the examples page
  • The bug happens consistently across all tested browsers
  • This bug happens when using Select2 without other pluigns
  • I can reproduce this bug in a jsbin
@alexweissman
Copy link
Contributor

#4746 has been merged into the 4.0.6-rc.0 pre-release.

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

No branches or pull requests

2 participants