Semantic-Org / Semantic-UI

Semantic is a UI component framework based around useful principles from natural language.
http://www.semantic-ui.com
MIT License
51.1k stars 4.95k forks source link

[Dropdown] - Search Dropdown should clear incomplete values in some missing cases #3029

Open jaimehing opened 9 years ago

jaimehing commented 9 years ago

Steps to Reproduce

  1. Instantiate a search selection dropdown
  2. Type something in the search box inside the dropdown and click somewhere else

Expected The Dropdown should clear the search value

Result The Dropdown does not clear the search value

stale[bot] commented 6 years ago

There has been no activity in this thread for 90 days. While we care about every issue and we’d love to see this fixed, the core team’s time is limited so we have to focus our attention on the issues that are most pressing. Therefore, we will likely not be able to get to this one.

However, PRs for this issue will of course be accepted and welcome!

If there is no more activity in the next 90 days, this issue will be closed automatically for housekeeping. To prevent this, simply leave a reply here. Thanks!

brunotourinho commented 6 years ago

bump

jfayatkim commented 5 years ago

This is an issue for us as well. It leaves users thinking they've selected something when they haven't selected anything valid.

lubber-de commented 5 years ago

Mmh, i am not getting the point, it works as expected for me at https://semantic-ui.com/modules/dropdown.html#search-selection

ziaratban commented 5 years ago

not fixed ! dropdown config :

 {
    minCharacters : 3,
    saveRemoteData : false,
    apiSettings : {
        url : 'index.php?query={query}',
        cache : false,
    },
}

when click on input, semantic-ui send a request with empty query to server and server return 10 result and dropdown show this results. then in search again , server return empty results and semantic-ui show previous results !!!!

lubber-de commented 5 years ago

@ziaratban Your mentioned behavior is fixed in Fomantic-UI since v2.7.0 by https://github.com/fomantic/Fomantic-UI/pull/300 See https://jsfiddle.net/c092thvs/1/