File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ import { QueryList } from '@angular/core';
3131import { Subject } from ' rxjs' ;
3232
3333// @public
34- export const MAT_CHIP: InjectionToken <unknown >;
34+ export const MAT_CHIP: InjectionToken <MatChip >;
3535
3636// @public
3737export const MAT_CHIP_AVATAR: InjectionToken <unknown >;
Original file line number Diff line number Diff line change @@ -73,15 +73,15 @@ export class MatChipEdit extends MatChipAction {
7373 if ( ! this . disabled ) {
7474 event . stopPropagation ( ) ;
7575 event . preventDefault ( ) ;
76- this . _parentChip . _edit ( ) ;
76+ this . _parentChip . _edit ( event ) ;
7777 }
7878 }
7979
8080 override _handleKeydown ( event : KeyboardEvent ) {
8181 if ( ( event . keyCode === ENTER || event . keyCode === SPACE ) && ! this . disabled ) {
8282 event . stopPropagation ( ) ;
8383 event . preventDefault ( ) ;
84- this . _parentChip . _edit ( ) ;
84+ this . _parentChip . _edit ( event ) ;
8585 }
8686 }
8787}
You can’t perform that action at this time.
0 commit comments