3 declare(strict_types=1);
15 $ui = $DIC->ui()->factory();
16 $renderer = $DIC->ui()->renderer();
19 $text_input = $ui->input()->field()->text(
"Basic Input",
"Just some basic input");
22 $form = $ui->input()->container()->form()->standard(
"#", [$text_input]);
25 return $renderer->render($form);
base()
Example show how to create and render a basic text input field and attach it to a form...