All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Field exposes
dirtyflag that indicates if the field has been changed
isValidIpAddressvalidation function
- Updated Node from 16 to 18
- Replaced babel with vite
- Fixed some typescript type and documentation
setValueshelper function for setting field's values from provided data objects
submitFormnow returns value ofonSubmitcallbackuseValidationnow returns additionalpropsprop that only contains input-specific props that can be spread into most components directly
isValidEmailno longer case sensitive
isValidEmailtype defined
isValidEmailexport added in theindex.js
- Added support for React 18
onBlurexpecting config as first argument but receiving event #48
- Added missing changelog entry
- README updated field types
isValidEmailvalidation function
onChange,onBlurandvalidatenow accept config as last argument
- Added
typesdirectory for publishing
- Typescript types
- Validation function's type checking fixed in the
useValidationhook
- Dependencies updated
- Typo in README.md
- Publishing to NPM
- Publishing to NPM
- Istanbul only enabled in TEST env
- React version bumped
- Dependencies' vulnerabilities fixed
- Validation function
isTruereturning always true for boolean types
- Support for validating Promise functions (remote validation)
- useValidation hook, form utils and validation functions
- documentation