Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
270 stars 75 forks source link

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

Closed benelan closed 2 months ago

benelan commented 2 months ago

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 team

Calcite (dev)

github-actions[bot] commented 2 months ago

Installed and assigned for verification.

DitwanP commented 2 months ago

🍭Verified locally on main image