✨ [Feature]: input组件增加聚焦,输入改变等事件 #1370
CatsAndMice
started this conversation in
General
Replies: 3 comments
-
同样的归个类, input框也缺少清除的功能, 右侧加个clear的图标 |
Beta Was this translation helpful? Give feedback.
0 replies
-
这里所描述的已经实现 @kagol |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What problem does this feature solve
input组件没有事件API。当用户聚焦时,希望可以做一些聚焦后的动作
What does the proposed API look like
当鼠标聚焦时,可以触发
onFocus
事件,用户输入时,可以触发onChange
事件Beta Was this translation helpful? Give feedback.
All reactions