code: function handleResults(results) {
        // check if uniqueDisplayProperty is set
        // then filter the result to uniqueness
        if (self.uniqueDisplayProperty)
          results = handleUniqueResult(results);
        self.itemList = results;
        self.hidden = shouldHide();
  
        // If loading is in progress, then we'll end the progress. This is needed for example,
        // when the `clear` button was clicked, because there we always show the loading process, to prevent flashing.
        if (self.loading) setLoading(false);
      }
docs: Handles the retrieved results by showing them in the autocompletes dropdown.
  @param results Retrieved results