-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into rkolev/fix-3523-master
- Loading branch information
Showing
31 changed files
with
1,491 additions
and
1,480 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
projects/igniteui-angular/src/lib/combo/combo-add-item.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { IgxComboItemComponent } from './combo-item.component'; | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'igx-combo-add-item', | ||
template: '<ng-content></ng-content>', | ||
providers: [{ provide: IgxComboItemComponent, useExisting: IgxComboAddItemComponent}] | ||
}) | ||
export class IgxComboAddItemComponent extends IgxComboItemComponent { | ||
get isSelected(): boolean { | ||
return false; | ||
} | ||
set isSelected(value: boolean) { | ||
} | ||
|
||
clicked(event?) { | ||
this.comboAPI.disableTransitions = false; | ||
this.comboAPI.add_custom_item(); | ||
} | ||
} |
Oops, something went wrong.