boneskull / angular-tags

Pure AngularJS tagging widget with typeahead support courtesy of ui-bootstrap
MIT License
133 stars 32 forks source link

add directive for uniqueness #53

Open gad2103 opened 9 years ago

gad2103 commented 9 years ago

so that only one tag at a time can be added (no duplicates!)

gad2103 commented 9 years ago

actually this is a bug when this is used with angular-boostrap, typeahead and BS3. i'm trying to figure out why, but the list doesn't filter correctly. its possible to keep adding the same tag over and over. it looks like the _filterSrcTag function is getting called but the changes to the tag array do not persist...