We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.1.5
<Typeahead inputRef={i => (this.input = i)} />
this.input is the dom <input> element.
this.input
<input>
this.input is undefined
undefined
The text was updated successfully, but these errors were encountered:
The behavior you're describing is expected, since inputRef is not part of the API. Is this a feature request?
inputRef
Sorry, something went wrong.
In that case, I guess it is.
You can call getInput on the typeahead instance if you need the input node:
getInput
// In `render`: <Typeahead ... ref={typeahead => this.typeahead = typeahead} /> // In some handler: this.typeahead.getInstance().getInput();
No branches or pull requests
Version
3.1.5
Steps to reproduce
Expected Behavior
this.input
is the dom<input>
element.Actual Behavior
this.input
isundefined
The text was updated successfully, but these errors were encountered: