0
我需要貨幣金額輸入。有沒有辦法自定義InputNumber來支持像逗號(',')或$?貨幣輸入的InputNumber?
類似這些:
http://leonardowf.github.io/react-simple-currency/
https://github.com/jsillitoe/react-currency-input
我使用的形式和InputNumber權利,但現在很難沒有至少每千逗號閱讀(用戶):
<Col span='24'>
<FormItem label='Original Investment'>
{getFieldDecorator('originalInvestment', {
rules: [{ required: true, message: 'Please input your Investment!' }],
initialValue: 100000000
})(
<InputNumber min={100000000} max={10000000000} />
)}
</FormItem>
</Col>