Hello,
I'm currently doing some work with EuiSelectable and it seems that there's no way to return the visibleOptions list on each keystroke via onSearch? It only returns the string in the user has entered.
Is there any other way to access the visibleOptions list? (with incremental: true)?
I've played around with some of the EUI code locally and it seems like this can be fixed by changing this line to something like this.props.searchProps.onSearch({searchValue, visibleOptions}); I'll raise a PR to get the ball rolling but happy to discuss other options here...
Ta,
John
Hello,
I'm currently doing some work with
EuiSelectableand it seems that there's no way to return thevisibleOptionslist on each keystroke viaonSearch? It only returns the string in the user has entered.Is there any other way to access the
visibleOptionslist? (withincremental: true)?I've played around with some of the EUI code locally and it seems like this can be fixed by changing this line to something like
this.props.searchProps.onSearch({searchValue, visibleOptions});I'll raise a PR to get the ball rolling but happy to discuss other options here...Ta,
John