Skip to content
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

✨ [Feature]: category search 支持文本类型的自动获取文本输入框的焦点 #1842

Closed
aolinpk opened this issue May 16, 2024 · 2 comments

Comments

@aolinpk
Copy link
Contributor

aolinpk commented May 16, 2024

What problem does this feature solve

category search 支持文本类型的自动获取文本输入框的焦点。华为云有该功能。点击的字段是可输入类型的组件时自动聚焦到对应输入组件。
image

What does the proposed API look like

这算易用性优化,希望可以自动实现。

@aolinpk
Copy link
Contributor Author

aolinpk commented May 20, 2024

已提交PR

@fu050409
Copy link
Collaborator

@aolinpk 这个 issue 看起来是已经解决了?

GreatZPP pushed a commit that referenced this issue Jun 3, 2024
* 组件易用性优化,category-search组件唤出textInput时,input框自动聚焦 (#1842)

* fix(inputNumber): #1843,支持inputNumber可以允许输入空串值,即用户删除掉所有值之后有效

* feat(inputNumber): 为允许输入空值(返回null 同ag版本)提供开关参数:allowEmpty。
修复历史代码中为通过语法校验的语法错误。(formContext存在未被定义的情况无法通过ts语法校验)

* fix(lint): 预处理函数getPropsSlot无法通过ts校验,实际上这个函数无需校验。建议跳过校验或者定义成any类型

* feat: 新增允许为空验证的测试用例
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants