Right know whenever onSubmit is called we only return e event of the form and valid flag to tell whether the validation is succeeded or not.
I think it will be great if we also returning the data that being validated so the user could do something with the data like sending POST request or anything.
Right know whenever onSubmit is called we only return
eevent of the form andvalidflag to tell whether the validation is succeeded or not.I think it will be great if we also returning the data that being validated so the user could do something with the data like sending POST request or anything.