mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
Merge branch 'konnorrogers/form-association-experiment' of https://github.com/shoelace-style/webawesome into konnorrogers/form-association-experiment
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user