u
This commit is contained in:
@@ -317,7 +317,7 @@ class RecordPaymentDialog extends PureComponent {
|
||||
type="number"
|
||||
value={amount}
|
||||
onChange={(e) => this.setState({ amount: e.target.value })}
|
||||
inputProps={{ min: 0.01, step: 'any' }}
|
||||
slotProps={{ htmlInput: { min: 0.01, step: 'any' } }}
|
||||
/>
|
||||
</Box>
|
||||
|
||||
|
||||
@@ -388,7 +388,7 @@ class NewShipmentModal extends PureComponent {
|
||||
value={currentVal}
|
||||
onChange={(e) => this.handleAmountChange(line.sku, e.target.value)}
|
||||
disabled={remaining <= 0}
|
||||
inputProps={{ min: 0, max: remaining, step: 'any', style: { textAlign: 'right' } }}
|
||||
slotProps={{ htmlInput: { min: 0, max: remaining, step: 'any', style: { textAlign: 'right' } } }}
|
||||
sx={{ width: 100 }}
|
||||
/>
|
||||
</TableCell>
|
||||
|
||||
Reference in New Issue
Block a user