only = false;
  },

  onBlurInput() {
    this.set('dropdownOpen', false);
    if (!this.selectedItem || this.selectedItem.name != this.query) {
      const item = this.suggestedItems.find(i => i.name == this.query, this);
      this.set('selectedItem', item || {name: this.query});
    }
    this.$.textbox.readonly = true;
  },

  onClearInput_() {
    this.set('query', '');
    this.focus();
  },

  onInputKeydown(event) {
    this.set('dropdownOpen', true);
    const key = event.keyCode || event.charCode;