src/mixins/multipleSelection.js
/**
     * Handles arbitrary keydown cases for the input
     */
Handles arbitrary keydown cases for the input
Handles arbitrary keydown cases for the input
inputKeydownHandler(event) {
      const { key } = event;
      if (this.inputIsSelected()) {
        if (isSingleCharacter(key) && this.allSelectedTagsAreActive) {
          this.resetFilters();
        }
      }
      this.multipleTagsSelectionHandler({ event, tagName: '' });
    }
inputKeydownHandler ( event ) { const { key } = event ; if ( this . inputIsSelected ( ) ) { if ( isSingleCharacter ( key ) && this . allSelectedTagsAreActive ) { this . resetFilters ( ) ; } } this . multipleTagsSelectionHandler ( { event , tagName : '' } ) ; }
Handles arbitrary keydown cases for the input
Handles arbitrary keydown cases for the input
// Reset the filters when a character is typed, // if the entire input is selected, but not the tags