Options
All
  • Public
  • Public/Protected
  • All
Menu

React Form Input Validation API's v2.0.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.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.