Tag Field

<sw-tag-field>

deprecated 6.1

Component properties

Property name Type Default
entity Object
disabled Boolean false
showLabel Boolean true
size String default

Methods

Method name Parameters
onSearchTermChange term
onClickAdd event
onEnter index
onArrowDown currentIndex
checkTagExists term
onSearchResultChange items
emitInput selected

Imports

  • ./sw-tag-field.html.twig
  • ./sw-tag-field.scss

SASS variables

Variable name Value
$sw-select-color-border $color-steam-cloud ($color-gray-300)
$sw-select-color-search-highlight $color-shopware-blue ($color-shopware-brand-500)

Twig blocks

  • sw_tag_field_form_select_add_option_content
  • sw_tag_field_form_select_add_option
  • sw_tag_field