Skip to content

v1.0.1

Choose a tag to compare

@jonth93 jonth93 released this 24 Nov 09:37
· 19 commits to main since this release

Release Notes - v1.0.1

We're excited to announce the first major release of acs-bootstrap-input-validator! This versatile input validation library simplifies the process of validating user input in web applications. With a range of pre-built validation rules, you can easily enforce input requirements and improve the user experience.

Key Features

  • Intuitive and flexible input validation for various scenarios.
  • Compatible with Bootstrap, utilizing the 'is-invalid' class for styling error messages.
  • Pre-built validation rules include required fields, character limits, IP address validation, email validation, URL validation, numeric checks, date validation, and strong password requirements.
  • Easy integration into your projects.

Installation

npm install acs-bootstrap-input-validator

Usage

import { InputValidator } from 'acs-bootstrap-input-validator';

// Initialize an instance of the InputValidator
const validator = new InputValidator();

// Example: Validate an input field for a required value
const inputElement = document.getElementById('myInput');
const validationParams = { required: true };

validator.validateInput(inputElement, validationParams);

Bug Fixes and Enhancements
We appreciate your support and feedback! Feel free to open an issue or contribute to the project.

Happy coding!