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.
-
Drop end-of-life Ruby versions 2.7 and 3.0.
Sean Doyle
-
Drop end-of-life Rails versions 6.1 and 7.0
Sean Doyle
-
Use
Set.add
correctlySean Doyle
-
Expand version matrix to include
[email protected]
and[email protected]
Sean Doyle
-
Don't validate Checkbox groups until
validateOn
eventsSean Doyle
-
Add support for opting-into Checkbox group
[required]
validationSean Doyle
-
Ignore
[disabled]
fields while validatingSean Doyle
-
Resolve issue where
:index
was ignored for multiply-nested formsSean Doyle
-
Pair calls to HTMLElement.focus with Element.scrollIntoView to work-around iOS Safari quirks
Sean Doyle
-
Remove
[email protected]
-rails@main
and[email protected]
-rails@main
pairings from CI matrixSean Doyle
-
Render server-generated custom validation messages during initial error reporting
Sean Doyle
-
Focus the first
[aria-invalid]
form control managed byConstraintValidations
on initial page load. -
Disable submit button when
disableSubmitWhenInvalid: true
and the initial server-rendered<form>
element has invalid fieldsSean Doyle
-
Do not disable a submit button with
[formnovalidate]
as part of handlingdisableSubmitWhenInvalid: true
configurationSean Doyle
-
Add support for Collection
<select>
helpersSean Doyle
-
Merge attributes into
@html_options
when available (for example, building<select>
elements)Sean Doyle
-
Omit
[aria-*]
- and[data-*]
-prefixed attributes from[type="hidden"]
fieldsSean Doyle
-
Drop intended support for Action Text until the engine itself adds test coverage.
Sean Doyle
-
Eager-load classes in
CI=true
environments to guard against Zeitwerk auto-loading issues.Sean Doyle
-
Extend built-in Action View and Action Text classes with their fully-qualified class names instead of re-opening their modules or classes.
Sean Doyle
-
(Re-)Validate on both
blur
andinput
events. Re-configure those values with thevalidatesOn:
configuration key.Sean Doyle
-
Replace
application/validation_messages
JSON template with a configuration option.Sean Doyle
-
When a field is determined to be invalid during a client-side submission validation, focus the first field that is invalid. When multiple fields are invalid, do not focus fields after the first. When validating on
blur
events, do not focus, since focus is moving manually on behalf of the user.Sean Doyle
-
Skip
invalid
event intercepts when both<template data-validation-message-template>
elements and[aria-errormessage]
elements are omitted from the<form>
Sean Doyle
-
Resolve issues with generating nested
fields
andfields_for
identifiers.Sean Doyle