Skip to content

v2.0.0

Compare
Choose a tag to compare
@gokulakannant gokulakannant released this 22 Nov 10:17
· 27 commits to master since this release
03a19d8

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.