Brakebein / ngx-tagify

Angular library that wraps https://github.com/yaireo/tagify/
MIT License
24 stars 4 forks source link

Property 'elm' does not exist on type 'DropDownSelectEventData<TagData>'.ts(2339) #30

Closed sssrit closed 1 week ago

sssrit commented 2 years ago

Hi, I am getting the error in Property 'elm' does not exist on type 'DropDownSelectEventData'.ts(2339) in dropdown:select property of callback. I am using tagify in angular. (Image attached)

185594858-d75791f5-d21c-457f-a43c-25e71e0bef8a

I am following the same code suggested in https://github.com/Brakebein/ngx-tagify/blob/master/src/app/example-templates/example-templates.component.ts

Please Advice me to solve the error

Brakebein commented 2 years ago

The typings for @yaireo/tagify have changed recently (see DT pull request). Please make sure that your dependency for @types/yaireo__tagify is at least 4.15.1 or just update ngx-tagify to 0.7.3.