ant-design / ant-design/pro-components

🧐[问题]ProFormDigit 怎么搞负数呀?

Open
#8,854 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

ProFormDigit 怎么搞负数呀?
官网只给出了
与 [inputNumber](https://ant.design/components/input-number-cn/) 相同。它自带了一个格式化 (保留 2 位小数,最小值为 0),有需要你可以关掉它。
但是没说怎么关掉~~~

Contributor guide

Open the contributing guide

Research direction

Start with the ProFormDigit documentation and the linked Ant Design InputNumber documentation. Determine how the built-in two-decimal formatter and minimum value of zero can be disabled or overridden, then document the negative-number configuration. Done means the page clearly explains how to allow negative values.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.