3 declare(strict_types=1);
11 $ui = $DIC->ui()->factory();
12 $renderer = $DIC->ui()->renderer();
14 $text_input = $ui->input()->field()
15 ->text(
"Required Input",
"User needs to fill this field")
18 $section = $ui->input()->field()->section(
20 "Section with required field",
21 "The Form should show an explaining hint at the bottom" 24 $form = $ui->input()->container()->form()->standard(
"", [
$section]);
25 return $renderer->render($form);