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.09k stars 4.95k forks source link

Searchable Dropdown Should not Accept Arbitrary Value as Input #6995

Open Zackhardtoname opened 4 years ago

Zackhardtoname commented 4 years ago

Steps

Let's use this example on the doc.

  1. click in the input field
  2. type arbitrary input like "zzz"
  3. click on "No results found."
  4. click away (field retains "zzz")
  5. submit the form

Expected Result

"zzz" should be cleared at step 4 like when we do not perform step 3.

Actual Result

The backend gets the arbitrary value, "zzz" in the above example.

Version

2.4.1

I see a related issue here. In my opinion, there should be no difference between performing step 3 or not for consistency.