Skip to content

Releases: morrys/relay-forms

relay-forms-v1.0.0

17 Jan 16:15
Compare
Choose a tag to compare

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

17 Jan 16:16
Compare
Choose a tag to compare

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

22 Oct 14:32
Compare
Choose a tag to compare

Fixed

  • export useFormValue hook
  • fix useFormValue typing
  • fix useFormValue docs

v0.1.0

22 Oct 11:34
2a204a9
Compare
Choose a tag to compare

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

08 Jul 11:13
Compare
Choose a tag to compare

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

29 May 10:55
Compare
Choose a tag to compare

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