Gbuomprisco/ngx-chips

Is there any way that I can set value from tagModel used in ngx-chips in angular?

Closed this issue · 1 comments

HTML Code:
<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