Group check widget

The widget creates a panel with switcher fields for all customer groups. If the options "user" and "section" are provided, the user configuration service will be used to store the panels collapsed/expanded state.

Options (Required)

User | data-panel-user | Integer | Optional

Customer id of user, used by user configuration service to store the collapsed state.

Section | data-panel-section | String | Optional

Panel section, used by user configuration service 'configuration_key'. The value get a "'group_check_'"-prefix.

Options (Additional)

Selected | data-group_check-selected | String | Additional

Comma separated list of customer status ids. If an switcher value is equal to one of the customer ids, the switcher state is active. Alternatively you can set the value "all" to set all switchers to an active state.

Name | data-group_check-name | String | Additional

Name attribute of switchers hidden input:checkbox field. If no value is provided, it defaults to 'group_check'

Example

```
Source: