How to return unique attribute value as suggestion in autocomplete

My table is properties with location attribute amongst others. More than one record can have the same location e.g “New York”. How can I make this unique so that I don’t nd up suggesting the same location more than once? I’m using autocomplete with Vue.