[Dropdown] Deleting search from a multiple dropdown, also deletes last selected item. #4887

Open
jukestar opened this Issue Jan 5, 2017 · 0 comments

Projects

None yet

1 participant

@jukestar
jukestar commented Jan 5, 2017

If you have a dropdown (multiple) with one or more items selected, using backspace to delete the search,
it also deletes the last selected item, if you have the whole text selected (Either by tabbing in or selecting all of the text with your mouse).

https://jsfiddle.net/dbr26njq/40/

  1. Select 1 or more items in the select.
  2. Type something into the search
  3. Blur out of the select (mouse or tab)
  4. Tab back into the select / select all the search text with your mouse
  5. Press backspace

Expected: Only the search text gets removed.

Actual: Both the search text and the last selected items gets deleted.

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