Releases: Bien-Glitch/fusion.form.validator
Releases · Bien-Glitch/fusion.form.validator
v2.0.0
🚀 What's Changed
- The plugin now has its own classes to avoid polluting the global space.
- The element selector
$el(selector, context)
has been changed to$fs(selector, context)
. - To access the validator and the utility methods, the element selector must be used to instantiate the plugin.
- Made configuration easier and seamless.
- Changed the names of the config sub-options
🚀 New Features
- Added new Configuration options under the
config
sub-option:showIcons
useDefaultStyling
initWrapper
🚀 Fixes
- Fixed bugs in Validation Process.
- Optimized validation processes for better performance.
V1.1.0
🚀 Highlight
- Caps Lock Alert Config:
- Added new config option method
validationTexts
-validator.validationTexts
- Added new config option method
🚀 New Feature
- Added Caps Lock state alert when typing in Password field.
Fixes
- Fixed minor bug in Password validation when there's confirm password field and
minlength
and/ormaxlength
attributes are set on Password field - Refactored code for better performance.
v1.0.0
Initial Release:
- Check if initialized form has errors before submission and optionally prevent submission and display errors if any.
- Validation for required form fields. This includes and is not limited to:
- Name field
- Username field
- Email field
- Phone Number field
- Password field
- Confirm Password field
- Show customized errors for inputs with
minlength
and / ormaxlength
attributes. - Option for floating label using the
form-label-group
class. - (optional) text for label for fields that are not required when using form-label-group (floating label) class, and much more.
- Built-in Utility functions / methods for easier manipulation.
- Chainable methods for easier use.
- Easy configuration options.