React Form Input Validation API's v2.1.0

Introduction

Documentation of React Form Input Validation API's for use of web developers validating React Forms.

Changelog

All notable changes to React Form Input Validation APIs will be documented in this file.

The format is based on Keep a Changelog.

[2.1.0] - 02/08/2022

Added

Fixed

  • Form validation with React Functional Component and useState Hooks - #41

[2.0.4] - 07/08/2020

Fixed

  • Fixed Confirm password not working issue - #19

Modified

  • Reduced the package size with webpack configurations.
  • Performance optimization

[2.0.1] - 25/11/2019

Fixed

  • Fixed onformsubmit event is received with empty values.

[2.0.0] - 22/11/2019

Added

Modified

  • API Documentation contents has improved.
  • More Code Sandbox examples are added in the API document.
  • Modified API name from handleFieldsChange to handleChangeEvent.
  • Error message containing state inputErrors is renamed to errors.
  • Accessing error message in state is modified from state.inputErrors.{form field name}.message to state.errors.{form field name}.

Removed

  • Contructor arguments reduced.
    • Rules passing in consturctor is removed. And the alternate is useRules.
    • Handle submit callback in constructor removed. And the alternate is onformsubmit event.

[1.0.1] - 14/11/2019

Added

  • A limited featured package has published.