Resolved decimal issue for mileage IO-434

This commit is contained in:
Patrick Fic
2020-12-03 12:12:42 -08:00
parent ab15164d3c
commit db1e046130
2 changed files with 5 additions and 5 deletions

View File

@@ -81,7 +81,7 @@ export default function VendorsFormComponent({
</LayoutFormRow>
<LayoutFormRow>
<Form.Item label={t("vendors.fields.discount")} name="discount">
<InputNumberCalculator />
<InputNumber min={0} max={1} precision={2} />
</Form.Item>
<Form.Item label={t("vendors.fields.terms")} name="terms">
<Input />
@@ -161,5 +161,5 @@ export default function VendorsFormComponent({
}}
</Form.List>
</div>
);
);
}