Skip to content

Releases: jkuatdsc/form-builder

v1.0.7

31 May 20:05
3f265f8
Compare
Choose a tag to compare

Changelog

  1. Cards validation: the new cards validation makes use of the Luhn algorithm to verify the validity of credit cards rather than the previous regex expression.
  2. Form reset: the form state and field states have a new function to reset the input/inputs.
  3. Default values: your data classes can now contain default values for other fields which aren't part of the form fields.

Minor changes:

  • More unit tests
  • Docs updates

v1.0.6

24 Jan 17:47
d9ead88
Compare
Choose a tag to compare

Changes:

  • Changed the getData function in the FormState to accommodate for data classes with default values
  • Minor README changes

v1.0.5

20 Oct 10:29
5412a84
Compare
Choose a tag to compare

What's Changed

Feature/additional validators by @SergeiMikhailovskii in #47. Three validators added to the TextFieldState

  • Phone: this can be used to verify phone numbers.
  • Web URL: this can be used to verify links.
  • Cards: this can be used to verify credit card numbers.

New Contributors

Full Changelog: 1.0.4...1.0.5

v1.0.4

23 Sep 13:58
2b5f828
Compare
Choose a tag to compare
Merge pull request #45 from jkuatdsc/bugfix/access-modifier

Update `validate` Access Modifier

v1.0.3

08 Sep 16:42
Compare
Choose a tag to compare

This fixes:

  • The select state error
  • A few docs changes

Form Builder v1.0.2

17 Jul 13:14
f4713c5
Compare
Choose a tag to compare

What's Changed

  • Added initial: <T> argument in BaseState class
  • Changed the access modifier for value and fun validate() in BaseState class to internal

Form builder

03 Apr 15:46
Compare
Choose a tag to compare

Changelog

  • Added SelectState and ChoiceState classes
  • Added more validators for different classes
  • Create an abstract BaseState class

Form Builder

17 Feb 13:40
Compare
Choose a tag to compare
  • initial release