We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当 precision 为 2 时
问题:输入 1,失焦时会变成 1.00,不是很美观。
期望:输入 1,变成 1 输入 1.1,变成 1.1 输入 1.11,变成 1.11
clearTrailingZero
The text was updated successfully, but these errors were encountered:
用 formatter 转译即可,precision 本身其实是 formatter 的语法糖实现。
formatter
precision
Sorry, something went wrong.
这样比较麻烦,需要写逻辑
No branches or pull requests
What problem does this feature solve?
当 precision 为 2 时
问题:输入 1,失焦时会变成 1.00,不是很美观。
期望:输入 1,变成 1
输入 1.1,变成 1.1
输入 1.11,变成 1.11
What does the proposed API look like?
clearTrailingZero
The text was updated successfully, but these errors were encountered: