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
目前 Sender onChange 只能访问到输入框对应 string value onChange?: (value: string) => void 期望可以访问完整的事件对象
onChangeEvent?: (e:React.ChangeEvent | React.ChangeEvent ) => void;
The text was updated successfully, but these errors were encountered:
感谢反馈~我觉得可以的,参考 antd 已有的 API 规范即可。
Sorry, something went wrong.
interface SenderProps { value?: string; onChange?: (event: React.ChangeEvent) => void; // 接收完整事件 // 其他 props } 这个我可以去改一下hh
PR: #362 @YumoImer
At least 1 approving review is required by reviewers with write access.
No branches or pull requests
需求动机
目前 Sender onChange 只能访问到输入框对应 string value
onChange?: (value: string) => void
期望可以访问完整的事件对象
提议的 API 是什么样的?
onChangeEvent?: (e:React.ChangeEvent | React.ChangeEvent
) => void;
The text was updated successfully, but these errors were encountered: