This commit is contained in:
seb
2026-10-14 01:13:09 +02:00
parent 2dd6533481
commit 424609a0f6
8 changed files with 16 additions and 14 deletions

View File

@@ -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>