Skip to content

V1.0.4

Compare
Choose a tag to compare
@jonth93 jonth93 released this 24 Nov 15:48
· 12 commits to main since this release

Version 1.0.4

New Features:

Custom Validation Messages: Added the ability to provide custom error messages for each validation type using the validationMessages parameter.

Bug Fixes:

Fixed issue with date validation.
Fixed class export and updated the usage section in the readme.
Fixed issue with detection of adjacent div to input with 'invalid-feedback' class not being created if not exist.

Enhancements:

Validation Type Addition: Added a new validation type, customRegexValidation, for users to define custom regular expressions for validation.
Updated unit tests to check for correct custom validation message and or adding of the invalid-feedback div element adjacent to the input.
IPv4 address can now detect and validate with or without the '/XX' subnet notation.

Dependencies:

Dependency Updates: Updated dependencies to ensure compatibility with the latest libraries and frameworks.