I'm using typeahead's UI Bootstrap component and I want to force the selection to validate my form.
Is it possible to configure it to set the input invalid when typeahead-editable
is set to false and the user enters a "bad" value or I should write a directive for this (but how)?