chg: [alignments:add] Usage of select2 for org selector
parent
d9df6ed4c3
commit
697c068ca6
|
@ -10,7 +10,8 @@ echo $this->element('genericElements/Form/genericForm', array(
|
||||||
array(
|
array(
|
||||||
'field' => ($scope === 'individuals' ? 'organisation_id' : 'individual_id'),
|
'field' => ($scope === 'individuals' ? 'organisation_id' : 'individual_id'),
|
||||||
'options' => ($scope === 'individuals' ? $organisations : $individuals),
|
'options' => ($scope === 'individuals' ? $organisations : $individuals),
|
||||||
'type' => 'select'
|
'type' => 'dropdown',
|
||||||
|
'select2' => true,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'field' => 'type'
|
'field' => 'type'
|
||||||
|
|
Loading…
Reference in New Issue