Skip to content

Commit 9defa02

Browse files
committed
refactor(radio): set value type to any
1 parent 4ad5281 commit 9defa02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/radio/radio.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export class IgxRadioComponent implements ControlValueAccessor, EditorProvider {
142142
* @memberof IgxRadioComponent
143143
*/
144144
@Input()
145-
public value: string;
145+
public value: any;
146146

147147
/**
148148
* Sets/gets the `name` attribute of the radio component.
@@ -375,7 +375,7 @@ export class IgxRadioComponent implements ControlValueAccessor, EditorProvider {
375375
* this.radio.writeValue('radioButtonValue');
376376
* ```
377377
*/
378-
public writeValue(value: string) {
378+
public writeValue(value: any) {
379379
this.value = this.value || value;
380380

381381
if (value === this.value) {

0 commit comments

Comments
 (0)