File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/material-examples/chips-input Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11< mat-form-field class ="demo-chip-list ">
2- < mat-chip-list matPrefix #chipList >
2+ < mat-chip-list #chipList >
33 < mat-chip *ngFor ="let fruit of fruits " [selectable] ="selectable "
44 [removable] ="removable " (remove) ="remove(fruit) ">
55 {{fruit.name}}
66 < mat-icon matChipRemove *ngIf ="removable "> cancel</ mat-icon >
77 </ mat-chip >
8+ < input placeholder ="New fruit... "
9+ [matChipInputFor] ="chipList "
10+ [matChipInputSeparatorKeyCodes] ="separatorKeysCodes "
11+ [matChipInputAddOnBlur] ="addOnBlur "
12+ (matChipInputTokenEnd) ="add($event) " />
813 </ mat-chip-list >
9- < input matInput placeholder ="New fruit... "
10- [matChipInputFor] ="chipList "
11- [matChipInputSeparatorKeyCodes] ="separatorKeysCodes "
12- [matChipInputAddOnBlur] ="addOnBlur "
13- (matChipInputTokenEnd) ="add($event) " />
1414</ mat-form-field >
You can’t perform that action at this time.
0 commit comments