Changelog
1.0.0 (June 12, 2018)
**
Note: this was the first release but i wanted to include changes from
react-form
so here they are:
**
formApi
was split into two parts formApi
( contains just functions ) formState
( contains just form state )defaultValues
Form prop is now called initialValues
onChange
Form prop only recieves the formState
. It used to retrieve the form Api as well.preventDefault
Form prop is now dontPreventDefault
getApi
Form prop just returns the formApi, not the state and the api.Form
component now renders the form
element internally. So you dont have to "hook it up" anymore!!**
Note: this was the first release but i wanted to include things that were removed from
react-form
so here they are:
**
NestedField
you can use Scope
instead but all it does is scope internal fields to scope="your-scope"
defaultValues
form prop is now called initialValues
pure
Form prop. Its not needed anymore due to the use of React.PureComponent
internally.react-form
. We determined this is something that the developer could achive on there own for now but we may look into adding this in the future.