Validation
Dynamic Rules
The amount starts above your balance, so submitting fails. Add funds and submit again: the same amount is now checked against the new balance.
Available balance
$250.00
What this shows
When a rule depends on props or React state from outside the form, pass a memoized validateCallback instead of validate.
The latest callback is used the next time the field validates: when its value changes, or on submit.