Skip to content

Releases: 10xjs/form

v0.1.6

28 Apr 00:35
2d36557
Compare
Choose a tag to compare
  • Renamed props to input in the field render props for better clarity.
  • Added behavior to validate and warn before initial render.
  • Removed validateOnChange and validateOnBlur options. Instead run validation on every value change.
  • Separated submit validation errors from sync validation errors in Form render callback props.
  • Added compare callback prop to field to allow customizing value comparison logic.

v0.1.5

09 May 01:39
7c9214e
Compare
Choose a tag to compare
  • Fixed a bug where setState was called when after the Form unmmounted.
  • Changed license to MIT.

v0.1.4

09 May 01:39
21c7ce2
Compare
Choose a tag to compare
  • Added more test coverage.
  • Introduced rollup for smaller optimized build.

v0.1.3

04 May 08:35
70691b6
Compare
Choose a tag to compare
  • Fixed an error in Form component render

v0.1.2

04 May 07:45
50ba235
Compare
Choose a tag to compare
  • Fixed submit logic to ensure thrown errors are caught and handled correctly
  • Fixed validation system
  • Fixed incorrect prop values in field render callback
  • Added esnext build
  • Proxied state provider actions as Form component instance methods
  • Added warning interface alongside validation
  • Updated submit logic to run validation before submit
  • Removed use of soon to be deprecated componentWillReceiveProps interface

v0.1.1

03 May 06:05
028c9cd
Compare
Choose a tag to compare
  • fixes compatibility with select and textarea inputs

Initial v0.1.0

02 May 23:35
9017482
Compare
Choose a tag to compare

Initial release.