(Retrofit from trunk) Portal : Fixed a bug with external key as radio button in forms

SVN:2.3[4340]
This commit is contained in:
Guillaume Lajarige
2016-08-23 12:45:51 +00:00
parent 09aef4ef39
commit 8711356118

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();