WIP Invoice Enter
This commit is contained in:
@@ -4,10 +4,9 @@ function FormItemCurrency(props, ref) {
|
||||
return (
|
||||
<InputNumber
|
||||
{...props}
|
||||
formatter={value => `$ ${value}`.replace(/\B(?=(\d{3})+(?!\d))/g, ",")}
|
||||
parser={value => value.replace(/\$\s?|(,*)/g, "")}
|
||||
//formatter={value => `$ ${value}`.replace(/\B(?=(\d{3})+(?!\d))/g, ",")}
|
||||
// parser={value => value.replace(/\$\s?|(,*)/g, "")}
|
||||
precision={2}
|
||||
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user