Set length of hint input if using Typeahead.