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
当前组件事件参数顺序不统一,期望统一全体组件参数顺序。如下图所示,有的组件第一个参数是 value,有的组件第一个参数是 object
blur 和 focus 事件,凡事第一个参数是 value 的,一律统一为 context: { value: xxx, e: xxx, ... } 等,涉及组件有 Input/Textarea/InputNumber/RangeInput/SelectInput/TagInput
blur
focus
context: { value: xxx, e: xxx, ... }
Input/Textarea/InputNumber/RangeInput/SelectInput/TagInput
除了 blur 和 focus 事件,还有很多其他的事件:enter/keydown/keypress/keyup/compositionend/compositionstart
enter/keydown/keypress/keyup/compositionend/compositionstart
(change 保持不变,第一个参数一定是 value)
The text was updated successfully, but these errors were encountered:
👋 @chaishi,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
变动较大,保持不变,各框架之间,同一个组件保持一致即可
No branches or pull requests
这个功能解决了什么问题
当前组件事件参数顺序不统一,期望统一全体组件参数顺序。如下图所示,有的组件第一个参数是 value,有的组件第一个参数是 object
你建议的方案是什么
blur
和focus
事件,凡事第一个参数是 value 的,一律统一为context: { value: xxx, e: xxx, ... }
等,涉及组件有Input/Textarea/InputNumber/RangeInput/SelectInput/TagInput
除了
blur
和focus
事件,还有很多其他的事件:enter/keydown/keypress/keyup/compositionend/compositionstart
(change 保持不变,第一个参数一定是 value)
The text was updated successfully, but these errors were encountered: