Skip to content

Releases: gokulakannant/react-form-input-validation

v2.1.0

02 Aug 14:14
ea79e39
Compare
Choose a tag to compare

[2.1.0] - 02/08/2022

Added

Fixed

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

v2.0.4

07 Aug 11:43
324deb3
Compare
Choose a tag to compare

[2.0.4] - 07/08/2020

Fixed

  • Fixed Confirm password not working issue - #19

Modified

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

v2.0.1

25 Nov 12:20
8dafbac
Compare
Choose a tag to compare

[2.0.1] - 25/11/2019

Fixed

  • Fixed onformsubmit event is received with empty values.

v2.0.0

22 Nov 10:17
03a19d8
Compare
Choose a tag to compare

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.