Hi, I'm using a string array as a model.
However, if I add new tags, the new array items end up being { display, value } pairs instead of new strings in the array.
Not sure if it's a bug or if I have an option missing.
Thanks,
Martin
Hi @DevInstinct,
Are you using the option [modelAsStrings]?
I have the same bug, Who knows?
[modelAsStrings]="true"
Hi,
I have been used [modelAsStrings]="true" in tag-input tag &[autocompleteItems]="['qwerty','mani']" in tag-input-dropdown tag. if value is adding from autocompletitems, it is storing as array of objects([{display:"qwerty",value:'qwerty'}]). if value is new , it is storing as array of string(['qwerty']). both scenorios i need to add as array of strings. how to handle it?
Most helpful comment
Hi @DevInstinct,
Are you using the option [modelAsStrings]?