mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 19:48:49 +02:00
N°8772 - Form dependencies manager implementation - WIP
This commit is contained in:
@@ -4,6 +4,7 @@ namespace Combodo\iTop\Forms\Block\DataModel;
|
||||
|
||||
use Combodo\iTop\Forms\Block\Base\StringFormBlock;
|
||||
use Combodo\iTop\Forms\Block\FormOutput;
|
||||
use Combodo\iTop\Forms\Converter\OqlToClassName;
|
||||
|
||||
class OqlFormBlock extends StringFormBlock
|
||||
{
|
||||
@@ -13,7 +14,7 @@ class OqlFormBlock extends StringFormBlock
|
||||
public function InitOutputs(): void
|
||||
{
|
||||
parent::InitOutputs();
|
||||
$this->AddOutput(new FormOutput(self::OUTPUT_SELECTED_CLASS, 'string'));
|
||||
$this->AddOutput(new FormOutput(self::OUTPUT_SELECTED_CLASS, 'string', new OqlToClassName()));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user