From 697c068ca683aa1aa1fa335bfeb122518eb30065 Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Tue, 17 Jan 2023 09:24:00 +0100 Subject: [PATCH] chg: [alignments:add] Usage of select2 for org selector --- templates/Alignments/add.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/Alignments/add.php b/templates/Alignments/add.php index 186e937..0663b6c 100644 --- a/templates/Alignments/add.php +++ b/templates/Alignments/add.php @@ -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'