Skip to content

Releases: BblLLlKA/formValidator

v2.0.1

18 Feb 16:23
cbed377

Choose a tag to compare

  • Optimized search for form elements - now they are stored in the this.fields array and processed by a loop.
  • Fixed loading of scripts and styles - setupPhoneNumberInput now waits for intlTelInput.min.js to load before initializing iti.
  • Updated validation logic - reduce is used to save the results of checking all fields.
  • Reduced code duplication - shortened if-else constructs for defining the validation function.

v2.0.0

29 Feb 12:44

Choose a tag to compare

Full Changelog: v1.0.1...v2.0.0

v1.0.1

16 Jan 10:26

Choose a tag to compare

Event subscription added

v1.0.0

12 Jan 23:56

Choose a tag to compare

The code is wrapped in Immediately Invoked Function Expression (IIFE) for namespace isolation.
Changed initialization setting
Added documentation
Changing the error handler

v0.1

11 Jan 17:24

Choose a tag to compare

v0.1 Pre-release
Pre-release
LICENSE add