chg: [alignments:add] Usage of select2 for org selector

develop-unstable
Sami Mokaddem 2023-01-17 09:24:00 +01:00
parent d9df6ed4c3
commit 697c068ca6
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ echo $this->element('genericElements/Form/genericForm', array(
array(
'field' => ($scope === 'individuals' ? 'organisation_id' : 'individual_id'),
'options' => ($scope === 'individuals' ? $organisations : $individuals),
'type' => 'select'
'type' => 'dropdown',
'select2' => true,
),
array(
'field' => 'type'