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

I want to add a parameter to n-input-number to control the decimal point期望n-input-number参数控制小数位的参数 #2068

Closed
xingxian1982 opened this issue Dec 29, 2021 · 4 comments
Labels
feature request New feature or request

Comments

@xingxian1982
Copy link

This function solves the problem (这个功能解决的问题)

Use this parameter to format the entered value automatically. For example, set the accuracy to 2 for amount and 6 for exchange rate(通过此参数让输入的数值自动格式化,比如为金额时设定精度为2,汇率时设定精度为6)

Expected API (期望的 API)

:precision=2

@github-actions github-actions bot added the feature request New feature or request label Dec 29, 2021
@Talljack
Copy link
Contributor

will do

@07akioni
Copy link
Collaborator

精度的坑可大,这玩意想写好了非常费劲,如果就单纯的一直往上加功能的话会很危险。

现在 input number 的这个架构我觉得撑不住加太多功能,需要一个更高层次的模型抽象。

@yanbowe
Copy link

yanbowe commented May 31, 2022

精度的坑可大,这玩意想写好了非常费劲,如果就单纯的一直往上加功能的话会很危险。

现在 input number 的这个架构我觉得撑不住加太多功能,需要一个更高层次的模型抽象。

聪哥,这个有计划在做吗?

@07akioni
Copy link
Collaborator

07akioni commented Jun 2, 2022

精度的坑可大,这玩意想写好了非常费劲,如果就单纯的一直往上加功能的话会很危险。
现在 input number 的这个架构我觉得撑不住加太多功能,需要一个更高层次的模型抽象。

聪哥,这个有计划在做吗?

没时间整这个啊

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

Successfully merging a pull request may close this issue.

4 participants