diff --git a/components/select/select.ts b/components/select/select.ts
index 9ec876cd..e54e6996 100755
--- a/components/select/select.ts
+++ b/components/select/select.ts
@@ -137,7 +137,7 @@ let styles = `
[innerHTML]="sanitize(active[0].text)">
- 0" class="btn btn-xs btn-link pull-right" style="margin-right: 10px; padding: 0;" (click)="remove(activeOption)">
+ 0" class="btn btn-xs btn-link pull-right" style="margin-right: 10px; padding: 0;" (click)="removeClick(active[0], $event)">
@@ -199,7 +199,7 @@ let styles = `
[ngClass]="{'btn-default': true}">
×
+ (click)="removeClick(a, $event)">×
@@ -525,6 +525,11 @@ export class SelectComponent implements OnInit, ControlValueAccessor {
return this.activeOption.text === value.text;
}
+ protected removeClick(value: SelectItem, event: any): void {
+ event.stopPropagation();
+ this.remove(value);
+ }
+
private focusToInput(value:string = ''):void {
setTimeout(() => {
let el = this.element.nativeElement.querySelector('div.ui-select-container > input');