Select Rule Create

<sw-select-rule-create>

ready
The sw-select-rule-create component is used to create or select a rule.

Usage

<sw-select-rule-create ruleId="0fd38734776f41e9a1ba431f1667e677"
ruleFilter="ruleFilter"

Component properties

Property name Type Default
ruleId String
ruleFilter Object
required Boolean false
placeholder String
size String

Methods

Method name Parameters
onSaveRule rule
onSelectRule event
openCreateRuleModal No parameters
onCloseRuleModal No parameters
onRuleSelectInput event

Imports

  • ./sw-select-rule-create.html.twig

Twig blocks

  • sw_select_rule_create_select_before
  • sw_select_rule_create_select_result
  • sw_select_rule_create_select
  • sw_select_rule_create_rule_modal
  • sw_select_rule_create

Slots

  • result_items