File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
projects/igniteui-angular/src/lib/chips Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,6 @@ export class IgxChipComponent extends DisplayDensityBase {
169169 @Input ( )
170170 public set selected ( newValue : boolean ) {
171171 this . changeSelection ( newValue ) ;
172- this . selectedChange . emit ( this . _selected ) ;
173172 }
174173
175174 @Output ( )
@@ -428,13 +427,15 @@ export class IgxChipComponent extends DisplayDensityBase {
428427 if ( ! onSelectArgs . cancel ) {
429428 this . renderer . addClass ( this . chipArea . nativeElement , this . _selectedItemClass ) ;
430429 this . _selected = newValue ;
430+ this . selectedChange . emit ( this . _selected ) ;
431431 }
432432 } else if ( ! newValue && this . _selected ) {
433433 this . onSelection . emit ( onSelectArgs ) ;
434434
435435 if ( ! onSelectArgs . cancel ) {
436436 this . renderer . removeClass ( this . chipArea . nativeElement , this . _selectedItemClass ) ;
437437 this . _selected = newValue ;
438+ this . selectedChange . emit ( this . _selected ) ;
438439 }
439440 }
440441 }
You can’t perform that action at this time.
0 commit comments