Created by: TomHAnderson
In support of https://github.com/max-favilli/tagmanager/pull/28 I need typeahead to toggle whether an element is selected when typeahead appears. This pull request implements typeahead on a tagging system where if a tag is selected it is to be added to the list of tags but if a string only partially matches an entry it would not select it until told to do so.