3 declare(strict_types=1);
    23     $ui = $DIC->ui()->factory();
    27     $text_input = $ui->input()->field()->text(
"Basic Input", 
"Just some basic input    28     with some error attached.")
    29         ->withError(
"Some error");
    32     $form = $ui->input()->container()->form()->standard(
"#", [$text_input]);
 
with_error()
 description: > Example shows how to create and render a basic text input field with an error attache...