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

XNumber不支持小数输入 #1767

Closed
superlbr opened this issue Jul 28, 2017 · 6 comments
Closed

XNumber不支持小数输入 #1767

superlbr opened this issue Jul 28, 2017 · 6 comments

Comments

@superlbr
Copy link

可否通过增加一个属性表示需要支持小数

@airyland
Copy link
Owner

不知道你的输入是什么意思,你开启 fillable 是可以输入小数的,step 也是可以设置小数的。

@ehisper
Copy link

ehisper commented May 2, 2018

怎么限制只能输入正整数呢?

@XWdong
Copy link

XWdong commented Jun 12, 2018

开启 fillable 是可以输入小数的,但是在IOS type=‘number’ 时 无小数点

@KarlHuang0509
Copy link

怎么限制只能输入正整数呢?

你的问题解决了吗?怎么限制输入正数?

@superlbr
Copy link
Author

@KarlHuang0509 min={0}?

@KarlHuang0509
Copy link

KarlHuang0509 commented Feb 21, 2019

@KarlHuang0509 min={0}?
什么意思? 我控件设置是这样。
title="用量"
width="5em"
v-model="qty"
align="left"
required
fillable
ref="qty"
:min="0"
:max="2147483647"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants