Documentation

multiSelect

array public static
\Bitrix\Main\UI\Filter\Field::multiSelect(
 string $name,
 array $items,
 array $defaultValues = array(),
 string $label = "",
 string $placeholder = ""
);

Static method processes multiselect field data and returns complete array.

Parameters

ParameterDescriptionVersion
$nameName
$itemsarray with items
$defaultValuesArray with default values
$labelName
$placeholderPlaceholder

Example



© «Bitrix24», 2001-2024
Up