basic autocomplete functionality for trade permits