19 declare(strict_types=1);
51 $ui = $DIC->ui()->factory();
53 $request = $DIC->http()->request();
56 $tag_input = $ui->input()->field()->tag(
58 [
'Interesting & fascinating',
'Boring, dull',
'Animating',
'Repetitious'],
63 $form = $ui->input()->container()->form()->standard(
'#', [
'f2' => $tag_input]);
66 if ($request->getMethod() ===
"POST") {
67 $form = $form->withRequest($request);
68 $result = $form->getData();
70 $result =
"No result yet.";
75 . print_r($result,
true)