19 declare(strict_types=1);
47 $ui = $DIC->ui()->factory();
49 $request = $DIC->http()->request();
52 $pwd_input = $ui->input()->field()->password(
"Password",
"Value will be displayed...")
53 ->withRevelation(
true);
56 $form = $ui->input()->container()->form()->standard(
'#', [
'password' => $pwd_input]);
60 if ($request->getMethod() ==
"POST") {
61 $form = $form->withRequest($request);
62 $result = $form->getData();
67 "<pre>" . print_r($result,
true) .
"</pre><br/>" .