3 declare(strict_types=1);
31 $ui = $DIC->ui()->factory();
33 $request = $DIC->http()->request();
36 $pwd_input = $ui->input()->field()->password(
"Password",
"Value will be displayed...")
37 ->withRevelation(
true);
40 $form = $ui->input()->container()->form()->standard(
'#', [
'password' => $pwd_input]);
44 if ($request->getMethod() ==
"POST") {
45 $form = $form->withRequest($request);
46 $result = $form->getData();
51 "<pre>" . print_r($result,
true) .
"</pre><br/>" .