FormThis is a React component
SourceWrapper around react-final-form with some extensions
1) You can pass a record to initialValues
and it will pass through the underlying data to the form
2) final-form expects a function as a child which you then render a <form>
element with and pass through
handleSubmit. Most the time this is the same thing so you optionally just pass through renderable
children and the form will be created implicitly for you.
Parameter | Type | Description | |
---|---|---|---|
* | props | Any of the final-form FormProps and the options shown below | |
props.formProps | Record | Any extra props to pass through to the underlying form component. The form component
used is determined by the Note that this only applies if you pass | |
props.initialValues | FormValues|ViewModel | Initial values for the form. Either an object or a |