Closed krunalm94 closed 2 years ago
HTML Code: <tag-input class="martop20 tag-adder width100 heightauto" [onAdding]="onAdding" (onAdd)="addInternalDomain($event)" type="text"
<tag-input class="martop20 tag-adder width100 heightauto" [onAdding]="onAdding" (onAdd)="addInternalDomain($event)" type="text"
TS code:
addInternalDomain(tagText: TagModel) { console.log(tagText.value) }
Getting error : Property 'value' does not exist on type 'TagModel'. Property 'value' does not exist on type 'string'.
Please complete the template. If possible, add a reproduction
HTML Code:
<tag-input class="martop20 tag-adder width100 heightauto" [onAdding]="onAdding" (onAdd)="addInternalDomain($event)" type="text"
TS code:
Getting error : Property 'value' does not exist on type 'TagModel'. Property 'value' does not exist on type 'string'.