Update src/components/radio-group/radio-group.ts

Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
This commit is contained in:
Konnor Rogers
2024-05-23 16:16:17 -04:00
committed by GitHub
parent 24851812c1
commit bb47ca0ccd

View File

@@ -203,7 +203,7 @@ export default class WaRadioGroup extends WebAwesomeFormAssociated {
/**
* 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;