Tag removal order:

  • If there are selected tags, all of them will be removed.
  • If there are no selected tags, the focused tag will be removed.

Tags can be removed in several ways:

  • Click on the remove icon (kbqTagRemove directive) inside the tag.
  • Press Delete or Backspace key.
  • Programmatic removal through the component API.

The removal option is configured using the removable attribute (enabled by default).

Tags can be selected in several ways:

  • Click on a tag while holding Ctrl.
  • Press Ctrl+A key combination.
  • Space when the tag is focused.
  • Programmatic selection through the component API.

The selection option is configured using the selectable attribute (enabled by default).

To enable editing mode, you need to set the editable property for kbq-tag-list or individual kbq-tag.

Enter editing mode:

  • On double click on the tag.
  • On pressing Enter or F2 key (when tag is focused).

Save changes:

  • On pressing Enter key.
  • On clicking the confirmation button (kbqTagEditSubmit directive).

Cancel changes:

  • On pressing Escape key.
  • On focus loss.

In editing mode, the tag transforms into an input field and remains at the same position within the control.

To enable tag reordering, you need to set the draggable property for kbq-tag-list.

Key
Action
Backspace / / Shift + Tab Move focus to the last tag.
Ctrl + A Select all tags and set focus to the last one.
Key
Action
/ Move focus to previous/next tag.
Space Select/deselect tag.
Delete / Backspace Remove tag.
F2 / Enter Start editing.
Ctrl + A Select all tags.
Home / End Move focus to first/last tag.
Key
Action
Enter Save changes.
Esc Cancel changes.
Docs Feedback
If you have any questions or would like to contribute to writing the documentation, please create an issue in our GitHub repository.