Releases: morrys/relay-forms
Releases · morrys/relay-forms
relay-forms-v1.0.0
Improved
- added relay-hooks dependency
- removed RelayForm, now you can use RelayEnvironmentProvider
- added reset function in useFormSubmit
- added value in useFormSetValue, now you must use input as controlled component
react-relay-forms-v1.0.0
Improved
- added react-relay dependency
- removed RelayForm, now you can use RelayEnvironmentProvider
- added reset function in useFormSubmit
- added value in useFormSetValue, now you must use input as controlled component
v0.1.1
Fixed
- export useFormValue hook
- fix useFormValue typing
- fix useFormValue docs
v0.1.0
Improved
- added isValid in useFormState
- added validateOnChange in useFormSetValue, validation is now performed when the value is changed
- added useFormValue hook to retrieve the value / error of a specific field
v0.0.4
Improved
- Modified the commitValue function to correctly handle complex fields like file / date etc.
- Improved the sample project by adding file upload and date selection
v0.0.2
Improved
- reduce the bundle size by removing the query text in favor of the id #3
Fixed
- Fixed the refactor made before the release on github, now the value is returned and not the key in the submit. #4