mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
Update src/components/radio-group/radio-group.ts
Co-authored-by: Cory LaViska <cory@abeautifulsite.net>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user