Semantic-ui-react: Dropdown: Does not display value on enter when using search selection

Created on 3 Oct 2017  Â·  1Comment  Â·  Source: Semantic-Org/Semantic-UI-React

✖ CSS ISSUES → Post on https://github.com/Semantic-Org/Semantic-UI

✖ USAGE QUESTIONS → Use these dedicated resources:
Docs - http://react.semantic-ui.com
Chat - https://gitter.im/Semantic-Org/Semantic-UI-React
SO - http://stackoverflow.com/search?q=semantic-ui-react

✔ BUGS → This form is required:

Steps

<Form.Dropdown
      label={label}
      search
      selection
      selectOnBlur={false}
      selectOnNavigation={false}
      options={options}
      value={input.value}
      onChange={(param,data) => input.onChange(data.value)}
    />

Search a couple of letters in dropdown search selection
Arrow down to selection
Hit enter

Expected Result

Call onChange and displays new value in input box

Actual Result

Calls onChange but displays the searched letters instead of new value
OnBlur sets display of input box to value

Version

0.74.2

Testcase

bug

>All comments

Please respect our time and fill issue template fully, i.e. make a working codepen.

Was this page helpful?
0 / 5 - 0 ratings