From 0a999c9da9c572c8699b064055109e2569ce1af2 Mon Sep 17 00:00:00 2001 From: jassu2244 Date: Fri, 3 Oct 2025 09:43:51 +0530 Subject: [PATCH] refactor: remove tagsChanged output from tags selector component --- libs/ui/src/lib/tags-selector/tags-selector.component.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libs/ui/src/lib/tags-selector/tags-selector.component.ts b/libs/ui/src/lib/tags-selector/tags-selector.component.ts index 5735a7ef6..2b64c22ed 100644 --- a/libs/ui/src/lib/tags-selector/tags-selector.component.ts +++ b/libs/ui/src/lib/tags-selector/tags-selector.component.ts @@ -5,12 +5,10 @@ import { Component, CUSTOM_ELEMENTS_SCHEMA, ElementRef, - EventEmitter, Input, OnChanges, OnDestroy, OnInit, - Output, signal, ViewChild } from '@angular/core'; @@ -65,8 +63,6 @@ export class GfTagsSelectorComponent @Input() readonly = false; @Input() tagsAvailable: Tag[]; - @Output() tagsChanged = new EventEmitter(); - @ViewChild('tagInput') tagInput: ElementRef; public filteredOptions: Subject = new BehaviorSubject([]); @@ -112,7 +108,6 @@ export class GfTagsSelectorComponent }); const newTags = this.tagsSelected(); - this.tagsChanged.emit(newTags); this.onChange(newTags); this.onTouched(); this.tagInput.nativeElement.value = ''; @@ -127,7 +122,6 @@ export class GfTagsSelectorComponent }); const newTags = this.tagsSelected(); - this.tagsChanged.emit(newTags); this.onChange(newTags); this.onTouched(); this.updateFilters();