Entity Multi Select

<sw-entity-multi-select>

n/a

Component properties

Property name Type Default
labelProperty String name
resultLimit Number 25
valueLimit Number 5
placeholder String
criteria Object
highlightSearchTerm Boolean true
entityCollection Array
context Object

Methods

Method name Parameters
createdComponent No parameters
refreshCurrentCollection No parameters
createEmptyCollection No parameters
isSelected item
loadData No parameters
search No parameters
displaySearch result
resetActiveItem No parameters
resetCriteria No parameters
paginate No parameters
emitChanges No parameters
addItem item
remove item
removeLastItem No parameters
onSelectExpanded No parameters
onSelectCollapsed No parameters
expandValueLimit No parameters
onSearchTermChange term
debouncedSearch No parameters
resetResultCollection No parameters
getKey object keyPath defaultValue

Imports

  • ./sw-entity-multi-select.html.twig

Watcher

  • entityCollection

Inject

  • { "type": "Literal", "start": 388, "end": 407, "value": "repositoryFactory", "raw": "'repositoryFactory'" }

Twig blocks

  • sw_entity_multi_select_base_selection_list_label_inner
  • sw_entity_multi_select_base_selection_list_label
  • sw_entity_multi_select_base_selection_list
  • sw_entity_multi_select_base_selection_slot
  • sw_entity_multi_select_base_selection
  • sw_entity_multi_select_base_results_list_before
  • sw_entity_multi_select_base_results_list_result_label
  • sw_entity_multi_select_base_results_list_result
  • sw_entity_multi_select_base_results_list_after
  • sw_entity_multi_select_base_results_list
  • sw_entity_multi_select_base_results_slot
  • sw_entity_multi_select_base_results
  • sw_entity_multi_select_base
  • sw_entity_multi_select

Slots

  • selection-label-property
  • before-item-list
  • result-item
  • result-label-property
  • after-item-list