Skip to content

Commit 76b553d

Browse files
committed
chore: associated form label added
1 parent 457cb36 commit 76b553d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elements/pf-radio/pf-radio.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class PfRadio extends LitElement {
169169

170170
render(): TemplateResult<1> {
171171
return html`
172-
<label for='input'>${this.label}</label>
172+
<label for=${this.id}>${this.label}</label>
173173
<input
174174
@click=${this.#onRadioButtonClick}
175175
id=${this.id}

0 commit comments

Comments
 (0)