Portal : Fixed a bug with external key as radio button in forms

SVN:trunk[4334]
This commit is contained in:
Guillaume Lajarige
2016-08-22 15:50:35 +00:00
parent 17703ce572
commit 7bea59fea1

View File

@@ -66,7 +66,9 @@ class BsSelectObjectFieldRenderer extends FieldRenderer
}
$oOutput->AddHtml('<div class="help-block"></div>');
// - As a select
if ($iFieldControlType === SelectObjectField::CONTROL_SELECT)
// TODO : This should be changed when we do the radio button display. For now we display everything with select
//if ($iFieldControlType === SelectObjectField::CONTROL_SELECT)
if (true)
{
// Checking if regular select or autocomplete
$oSearch = $this->oField->GetSearch()->DeepClone();