Answer the question
In order to leave comments, you need to log in
How to form a field with employees in main.ui.filter?
Hello colleagues, I'm building my own filter that will get into $arParams 'FILTER' in bitrix:main.ui.filter Code
example:
$APPLICATION->IncludeComponent('bitrix:main.ui.filter', '', [
'FILTER_ID' => 'report_list',
'GRID_ID' => 'report_list',
'FILTER' => [
['id' => 'IS_SPEND', 'name' => 'Тип операции', 'type' => 'list', 'items' => ['1' => 'Любой', '2' => 'Поступление', '3' => 'Списание'], 'params' => ['multiple' => 'Y']],
['id' => 'AMOUNT', 'name' => 'Сумма', 'type' => 'number'],
['id' => 'PAYER_INN', 'name' => 'ИНН Плательщика', 'type' => 'number'],
['id' => 'PAYER_NAME', 'name' => 'Плательщик', 'type' => 'string'],
],
'ENABLE_LIVE_SEARCH' => true,
'ENABLE_LABEL' => true
]);
Answer the question
In order to leave comments, you need to log in
['id' => 'USER', 'name' => 'user', 'type' => 'dest_selector']
dest_selector type is responsible for the responsible selection window
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question