You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you focus EUIComboBox and try to search for a new value that is not in the options, then move focus out of the EUIComboBox, focus EUIComboBox again and click on Enter button, the issue appears in console.
If you focus
EUIComboBox
and try to search for a new value that is not in the options, then move focus out of theEUIComboBox
, focusEUIComboBox
again and click on Enter button, the issue appears in console.Note:
It happens when
this.state.activeOptionIndex
equals-1
andhasActiveOption
function returns truehttps://github.com/elastic/eui/blob/master/src/components/combo_box/combo_box.js#L189
which causes calling
onAddOption
function with-1
https://github.com/elastic/eui/blob/master/src/components/combo_box/combo_box.js#L340
The text was updated successfully, but these errors were encountered: