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
Describe Framework
另外建议最好能暴露inputElementRef,以防有什么特殊的需求,例如这种onPaste事件,如果暴露了ref其实外不可以先自行实现一下 PS:主要诉求是pasteEvent的clipboardData
The text was updated successfully, but these errors were encountered:
@HQ-Lin 我们把关键元素的 Ref 都默认暴露一下吧
Sorry, something went wrong.
我处理下
目前 input 所有原生事件都是支持透传的,你可以直接传 onPaste={xx} 试试 https://codesandbox.io/s/tdesign-react-demo-forked-d1zof
onPaste={xx}
具体逻辑参考: https://github.com/Tencent/tdesign-react/blob/develop/src/input/Input.tsx#L81
No branches or pull requests
Describe Framework
另外建议最好能暴露inputElementRef,以防有什么特殊的需求,例如这种onPaste事件,如果暴露了ref其实外不可以先自行实现一下
PS:主要诉求是pasteEvent的clipboardData
The text was updated successfully, but these errors were encountered: