Skip to content

Latest commit

 

History

History
134 lines (77 loc) · 3.5 KB

CHANGELOG.md

File metadata and controls

134 lines (77 loc) · 3.5 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]

0.1.2 - 2024-10-08

  • Use Set.add correctly

    Sean Doyle

0.1.1 - 2024-09-27

  • Expand version matrix to include [email protected] and [email protected]

    Sean Doyle

  • Don't validate Checkbox groups until validateOn events

    Sean Doyle

  • Add support for opting-into Checkbox group [required] validation

    Sean Doyle

  • Ignore [disabled] fields while validating

    Sean Doyle

  • Resolve issue where :index was ignored for multiply-nested forms

    Sean 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 matrix

    Sean Doyle

  • Render server-generated custom validation messages during initial error reporting

    Sean Doyle

  • Focus the first [aria-invalid] form control managed by ConstraintValidations on initial page load.

  • Disable submit button when disableSubmitWhenInvalid: true and the initial server-rendered <form> element has invalid fields

    Sean Doyle

  • Do not disable a submit button with [formnovalidate] as part of handling disableSubmitWhenInvalid: true configuration

    Sean Doyle

0.1.0 - 2023-12-04

  • Add support for Collection <select> helpers

    Sean Doyle

  • Merge attributes into @html_options when available (for example, building <select> elements)

    Sean Doyle

  • Omit [aria-*]- and [data-*]-prefixed attributes from [type="hidden"] fields

    Sean 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 and input events. Re-configure those values with the validatesOn: 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 and fields_for identifiers.

    Sean Doyle