Closed nhunzaker closed 6 years ago
For controlled forms, it would be great if you could pass in the payload for the form to send:
class ControlledForm extends React.Component { // ... controlled input stuff render() { return ( <ActionForm action="thing" payload={this.state.formData}> <input type="text" onChange={this.onChange} /> </ActionForm> ) } }
In this mode:
serializer
prepare
For controlled forms, it would be great if you could pass in the payload for the form to send:
In this mode:
serializer
prop would not be called.prepare
prop would be called