Skip to content

Commit 2e2c8ca

Browse files
committed
chore(image-checkbox): Make component ngmodel compliant
1 parent 8c300d3 commit 2e2c8ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/image-checkbox/image-checkbox.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component, Input, Output, forwardRef} from '@angular/core';
1+
import { Component, Input, Output, forwardRef, EventEmitter} from '@angular/core';
22
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
33

44
@Component({
@@ -18,6 +18,7 @@ export class ImageCheckboxComponent implements ControlValueAccessor {
1818
@Input() disabled:boolean = false;
1919
@Input('options') options;
2020
@Output() onSelected;
21+
@Output() onSelect: EventEmitter<any> = new EventEmitter();
2122

2223
defaultColor = '#FF3251';
2324
borderColor = this.defaultColor;

0 commit comments

Comments
 (0)