Releases: 10xjs/form
Releases · 10xjs/form
v0.1.6
- Renamed
props
toinput
in the field render props for better clarity. - Added behavior to validate and warn before initial render.
- Removed
validateOnChange
andvalidateOnBlur
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
v0.1.4
v0.1.3
v0.1.2
- 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
Initial v0.1.0
Initial release.