mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 10:27:49 +00:00
fix: add max attribute to expected referrals input
Prevent users from entering values exceeding int32 range.
This commit is contained in:
@@ -114,6 +114,7 @@ export default function ReferralPartnerApply() {
|
|||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
min={0}
|
min={0}
|
||||||
|
max={2000000000}
|
||||||
className="input w-full"
|
className="input w-full"
|
||||||
value={form.expected_monthly_referrals ?? ''}
|
value={form.expected_monthly_referrals ?? ''}
|
||||||
onChange={(e) =>
|
onChange={(e) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user