N°8772 - Form dependencies manager implementation - WIP

This commit is contained in:
Eric Espie
2025-10-23 16:57:35 +02:00
parent fd449d195d
commit 21b786e0fa
12 changed files with 353 additions and 291 deletions

View File

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