diff --git a/frontend/src/components/PaymentMethods/Cheque/index.tsx b/frontend/src/components/PaymentMethods/Cheque/index.tsx index 64fde29..ef8731e 100644 --- a/frontend/src/components/PaymentMethods/Cheque/index.tsx +++ b/frontend/src/components/PaymentMethods/Cheque/index.tsx @@ -57,7 +57,7 @@ export function ContractCheque({ inputForm, price, productor }: ContractChequePr { capfirst: true }, )} min={1} - max={paymentMethod?.max || 3} + max={paymentMethod?.max && paymentMethod?.max !== "" ? Number(paymentMethod?.max) : 3} {...inputForm.getInputProps(`cheque_quantity`)} />