Demo

Controlled form validation

Documented in Picker behavior and forms.

Controlled form validation

Check-in and check-out pickers bound to external form state with a cross-field rule, invalid and errorMessage, onBlur touch tracking, onInvalid from native constraint validation and ref.focus() on the first error.

Check-in
mmddyyyy
Check-out
mmddyyyy
Arrival time
––––AM

State: {"checkIn":null,"checkOut":null,"arrival":null} · onValueChange calls: 0