Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EuiComboBox inputRef not accessible #3528

Closed
ekline-expnet opened this issue May 31, 2020 · 1 comment · Fixed by #3532
Closed

EuiComboBox inputRef not accessible #3528

ekline-expnet opened this issue May 31, 2020 · 1 comment · Fixed by #3532
Assignees
Labels

Comments

@ekline-expnet
Copy link

The documentation shows the property inputRef is available on EuiComboBox.
I thought I was using it to set focus, but after updating EUI, the code stopped working.

Looking at combo_box.tsx, the inputRef is pulled out of the props on line 889, but then the inputRef is set on line 1034 to be inputRef={this.searchInputRefCallback} and the props.inputRef is never called if present.

@chandlerprall
Copy link
Contributor

Looks like a regression caused by #2838 which omitted the call to the provided inputRef.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants