19 declare(strict_types=1);
47 $query_wrapper = $DIC->http()->wrapper()->query();
48 $inputs = $DIC->ui()->factory()->input();
50 $request = $DIC->http()->request();
53 $markdown_input =
$inputs->field()->markdown($md_renderer,
'Markdown Input',
'Just a markdown input.');
54 $markdown_input = $markdown_input->withMinLimit(1)->withMaxLimit(20);
55 $form =
$inputs->container()->form()->standard(
'#', [$markdown_input]);
59 if (
'POST' === $request->getMethod()) {
60 $form = $form->withRequest($request);
61 $data = $form->getData();
63 $data =
'no results yet.';
67 '<pre>' . print_r(
$data,
true) .
'</pre>' .