You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed first parameter in validator function that provided the form input value. Validator must extract value from element which is now the first parameter. This is done because extracting the input values heavily depends on the input.
Dropped CSS classes for invalid elements. Use the CSS pseudo-selector :invalid instead.
Only support browsers which support the validation API. Increased output ECMAScript level to 2020.
No IIFE output is provided. Use a bundler instead.
All validators are looked up when starting validation, not just when they would be used.
Replaced default export with named one.
Misc. smaller type improvements that made typing more safe.
Made #validate instance method private. Trigger element events instead if you need programmatic validation.