-
-
Notifications
You must be signed in to change notification settings - Fork 47.3k
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
Can't add onKeyDown event listener with the AutoComplete Customize Input Component #5487
Comments
Try reinstall node_modules. |
@yesmeck thanks a lot to work with this issue. It may be able to work independently But in the return React.cloneElement(this.props.children, {
...this.props,
ref: ele => this.ele = (ele as HTMLInputElement),
}, null); The |
+ close ant-design#5487
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Environment(required)
What did you do? Please provide steps to re-produce your problem.
What do you expected?
So, any way to add a custom input onKeyDown or onChange event callback with this AutoComplete component?
By the way,I found this: https://github.com/react-component/select/blob/master/src/Select.jsx#L470
It may be the point.
The text was updated successfully, but these errors were encountered: