action
handler (this.handleSubmit
) is passed like an Object:fields
and form
are always present in whichever callback method is being handled. On top of that, additional (or contextual) argument properties are passed to the argument Object as well.Note: You may see argument Object properties including all the possible properties in the examples over here. That is done solely for demonstrational purposes, you do not need to include all argument properties – only the ones you need at the moment.
fields
it's fields
everywhere.