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

[FR]: SearchBar 支持自定义 input 的 type(小程序confirm-type)属性 #2138

Open
zybzzc opened this issue Mar 27, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@zybzzc
Copy link

zybzzc commented Mar 27, 2024

这个功能解决了什么问题?

某些场景,SearchBar不带显式的搜索按钮,而是直接通过软键盘右下角确认按钮直接触发搜索。这种情况下需要将键盘确认按钮的文本改为“搜索”。

你期望的组件设计是怎样的?

SearchBar 添加 inputType prop:

<SearchBar inputType='search' />
@xiaoyatong xiaoyatong added the enhancement New feature or request label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants