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

[input]type设置为数字时安卓手机键盘键盘没有小数点 #2389

Open
china-live opened this issue Oct 11, 2023 · 5 comments
Open

Comments

@china-live
Copy link

tdesign-miniprogram 版本

1.2.3

重现链接

No response

重现步骤

模拟器中无法重现,IOS系统键盘正常,安卓手机数字键盘缺少小数点

期望结果

No response

实际结果

No response

基础库版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

👋 @china-live,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@china-live
Copy link
Author

重现步骤,用安卓手机访问tdesign 小程序,input 组件金额输入框,无法输入小数。

@anlyyao
Copy link
Collaborator

anlyyao commented Oct 18, 2023

@china-live 感谢反馈,我这边目前没有安卓机无法进行真机测试,辛苦提供一下客户端系统版本和演示录屏~,另外你可以试试 原生 input, 看此问题是否存在。

@china-live
Copy link
Author

china-live commented Oct 19, 2023

更正一下,是将type设置为 number 时在安卓手机上无法输入小数点,设置为 digit 是可以输入小数点。
也就是说,type=number时在安卓手机上只有 0-9 、和删除键,type=digit 时是 0-9、小数点、和删除键。

@china-live
Copy link
Author

type=number 时安卓手机显示键盘 ▼
1

type=digit时安卓手机显示键盘 ▼
2

type=number 或 type=digit时 IOS 显示键盘 ▼
3

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

2 participants