react-native-form-generator icon indicating copy to clipboard operation
react-native-form-generator copied to clipboard

Validate entire form

Open peacechen opened this issue 8 years ago • 1 comments

It would be handy if the form would indicate whether the entire form (all the child inputs) are valid. This controls whether the Submit button should be operable, for example. I've been trying to enumerate the child refs, checking the .valid field, but some inputs such as Picker don't have that field at all. Additionally, .valid isn't reliable because it can be true when the form first loads (uninitialized values set .valid true in the examples).

peacechen avatar Dec 07 '16 23:12 peacechen

+1

matbalazsi avatar Jul 11 '17 11:07 matbalazsi