Skip to content

Radio Button Group: no validation message displayed during form submission when required property is set #9220

@benelan

Description

@benelan

Check existing issues

Actual Behavior

The validation message on calcite-radio-button-group is not displayed during form submission. This is because calcite-radio-button-group is not form associated, the child calcite-radio-button elements are. Some changes to the form utilities were required in #9218.

Expected Behavior

A validation message should be displayed on the calcite-radio-button-group if a child calcite-radio-button is invalid.

Reproduction Sample

https://codepen.io/benelan/pen/zYXXbLw

Reproduction Steps

  1. Click the submit button
  2. Notice that there is no validation message displayed

Reproduction Version

2.7.1

Relevant Info

No response

Regression?

No response

Priority impact

p4 - not time sensitive

Impact

No response

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-angular
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/eslint-plugin-calcite-components

Esri team

Calcite (dev)

Metadata

Metadata

Labels

4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.Calcite (dev)Issues logged by Calcite developers.bugBug reports for broken functionality. Issues should include a reproduction of the bug.calcite-componentsIssues specific to the @esri/calcite-components package.estimate - 2Small fix or update, may require updates to tests.impact - p3 - not time sensitiveUser set priority impact status of p3 - not time sensitivep - lowIssue is non core or affecting less that 10% of people using the library

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions