renderAutocomplete()

in web/rv-reviewer.ts [177:198]


  renderAutocomplete() {
    return html`
      <span class="value">
        <!--
              TODO:
              Investigate whether we could reuse gr-account-list.
              If the REST API returns AccountInfo instead of an account
              identifier String we should be able to use gr-account-list(size=1)
              for all reviewers, including those who are non-editable
              (#reviewerField below) and align the plugin with how accounts
              are displayed in core Gerrit's UI.
            -->
        <gr-autocomplete
          id="editReviewerInput"
          .query="${(input: string) => this.getReviewerSuggestions(input)}"
          .placeholder="Name Or Email"
          @value-changed="${this.onReviewerSelected}"
        >
        </gr-autocomplete>
      </span>
    `;
  }