Merge branch 'konnorrogers/form-association-experiment' of https://github.com/shoelace-style/webawesome into konnorrogers/form-association-experiment

This commit is contained in:
konnorrogers
2024-05-23 16:16:50 -04:00

View File

@@ -205,7 +205,7 @@ export default class WaRadioGroup extends WebAwesomeFormAssociatedElement {
/**
* We use the first available radio as the validationTarget similar to native HTML that shows the validation popup on
* the first radio element.
* the first radio element.
*/
get validationTarget() {
return this.querySelector<WaRadio | WaRadioButton>(':is(wa-radio, wa-radio-button):not([disabled])') || undefined;