3 declare(strict_types=1);
22 $ui = $DIC->ui()->factory();
26 $text_input = $ui->input()->field()->text(
"Basic Input",
"Just some basic input 27 with some default value.")
28 ->withValue(
"Default Value");
31 $form = $ui->input()->container()->form()->standard(
"#", [$text_input]);
with_value()
description: > Example shows how to create and render a basic text input field with an value attache...