Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 1.14 KB

CHANGELOG.md

File metadata and controls

27 lines (14 loc) · 1.14 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[1.3.0] - 2023-05-16

Changed

  • Custom validation functions (passed in via a data-validation attribute) will now always be run in the validateInput method. Before, custom validation was not checked unless an input had a value, but this precluded many types of custom validation.

This could be a breaking change if you used a custom validation function (ie via a data-validation attribute) for a field that was not required. If you relied on the previous behavior, you must ensure they handle allowing inputs to be empty when not required.

[1.2.0] - 2023-04-24

Added

  • If an input is disabled, it will be ignored by validation methods. This means that if you have a form with a disabled input, it will not be validated when the form is submitted.

[1.1.9] - 2023-04-04

Fixed

  • Fixed bug where assigning preventSubmit in the options object would not work as intended.