Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
krunalm94 opened this issue Nov 1, 2021 · 1 comment

Comments

@krunalm94
Copy link

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'.

@Gbuomprisco
Copy link
Owner

Please complete the template. If possible, add a reproduction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants