Skip to content

Commit

Permalink
Add Decimal Limit To Money (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivilartisant authored Nov 6, 2023
1 parent 01d57fe commit 29ff8d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Money/Money.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function MAS(props: IMoneyProps) {
<NumericFormat
className={`w-full default-input h-12 pl-3 pr-10 mb-1 ${messageClass}`}
data-testid="money-field"
decimalScale={18}
decimalScale={9}
allowNegative={false}
suffix={' MAS'}
disabled={disable}
Expand Down

0 comments on commit 29ff8d3

Please sign in to comment.