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

InputNumber 可以只限制输入数字吗? #42

Closed
qwei-1874 opened this issue Aug 16, 2017 · 6 comments · Fixed by #230
Closed

InputNumber 可以只限制输入数字吗? #42

qwei-1874 opened this issue Aug 16, 2017 · 6 comments · Fixed by #230

Comments

@qwei-1874
Copy link

https://ng.ant.design/#/components/input-number
名义是 input number 但是没有限制。

@qwei-1874
Copy link
Author

动态配置,例如可以配置整数,小数位数。

@giscafer
Copy link
Contributor

还没扩展formatter 属性。

@aruis
Copy link

aruis commented Aug 25, 2017

手动在nz-input-number 输入数字, 直接从form 里取到的值是 字符串类型。 是我使用姿势不对,还是bug?

@giscafer
Copy link
Contributor

@aruis 目前输入框取得的值都是string类型

@LinboLen
Copy link
Contributor

formatter +1

@lock
Copy link

lock bot commented Feb 19, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Feb 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
5 participants