mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°4349 - Drop-down mandatory template field documented still required in modification
This commit is contained in:
@@ -194,10 +194,9 @@ EOF
|
||||
// Drop-down select
|
||||
//
|
||||
$oBlock->AddDataAttribute("input-type","Combodo\\iTop\\Form\\Field\\SelectObjectField\\Select");
|
||||
$oBlock->AddCSSClass('ibo-input-field-wrapper');
|
||||
$sEditType = 'select';
|
||||
$oSelect = SelectUIBlockFactory::MakeForSelect("",$this->oField->GetGlobalId());
|
||||
$oBlock->AddSubBlock($oSelect);
|
||||
$oBlock->AddSubBlock(UIContentBlockUIBlockFactory::MakeStandard(null,['ibo-input-field-wrapper'])->AddSubBlock($oSelect));
|
||||
$oSelect->AddOption(SelectOptionUIBlockFactory::MakeForSelectOption('',Dict::S('UI:SelectOne'), false ));
|
||||
while ($oObject = $oSet->Fetch())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user