Skip to content

Commit 2d4f359

Browse files
authored
Merge pull request #2585 from rkkp1023/issue-2535
fix(toggle): set the name and value attributes
2 parents 3937a8a + 92e7a8f commit 2d4f359

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/toggle/toggle.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ export class ToggleChange {
6767
'bx--skeleton': skeleton
6868
}"
6969
[id]="id"
70-
[value]="value"
71-
[name]="name"
70+
[attr.value]="value"
71+
[attr.name]="name"
7272
[required]="required"
7373
[checked]="checked"
7474
[disabled]="disabled"

0 commit comments

Comments
 (0)