3 declare(strict_types=1);
22 $factory = $DIC->ui()->factory();
24 $request = $DIC->http()->request();
26 $submit_flag =
'dropzone_wrapper_with_clear_button';
27 $post_url =
"{$request->getUri()}&$submit_flag";
30 ->dropzone()->file()->wrapper(
31 'Upload your files here',
33 $factory->messageBox()->info(
'Drag and drop files onto me!'),
34 $factory->input()->field()->file(
40 $dropzone = $dropzone->withActionButtons([
41 $factory->button()->standard(
'Clear files!',
'#')->withOnClick($dropzone->getClearSignal())
with_clear_button()
description: > Example for rendering a file dropzone wrapper with clear buttons. ...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...