Skip to content

Commit 16682f8

Browse files
committed
Revert "fix: set the name and value attributes"
This reverts commit 73bf531.
1 parent 73bf531 commit 16682f8

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/toggle/toggle.component.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,6 @@ export class Toggle extends Checkbox {
102102
*/
103103
static toggleCount = 0;
104104

105-
/**
106-
* Variable set the value to input true/false.
107-
*/
108-
value = false;
109-
110-
/**
111-
* Variable set the name to input same as Id.
112-
*/
113-
name = "toggle-" + Toggle.toggleCount;
114-
115105
/**
116106
* Text that is set on the left side of the toggle.
117107
*/
@@ -203,7 +193,6 @@ export class Toggle extends Checkbox {
203193
this.change.emit(event);
204194
/* end deprecation */
205195

206-
this.value = this.checked;
207196
this.checkedChange.emit(this.checked);
208197
this.propagateChange(this.checked);
209198
}

0 commit comments

Comments
 (0)