You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.
Hi there,
Thank you for developing this component!
I tried using ngTagsInput to select items with a property called "displayString". This property may be empty, so my template provides a default value: {{::data.displayString || 'No name'}
Those items are displayed inside the autocomplete list but cannot be selected, even though min-length is set to 0 and allowed-tags-pattern is set to .*.
So I had a look in the source code and saw that it will never accept empty strings:
Hi there,
Thank you for developing this component!
I tried using ngTagsInput to select items with a property called "displayString". This property may be empty, so my template provides a default value:
{{::data.displayString || 'No name'}
Those items are displayed inside the autocomplete list but cannot be selected, even though
min-length
is set to 0 andallowed-tags-pattern
is set to.*
.So I had a look in the source code and saw that it will never accept empty strings:
ngTagsInput/src/tags-input.js
Line 69 in 87d0e6b
Would it be possible to remove that check?
Thanks a lot,
Jesse
The text was updated successfully, but these errors were encountered: