Issue Task Closed

#90264form: DatePickerViewHelper is using inline js

Christian Eßl 01/31/20, 08:30 updated 09/07/21, 07:42

Description

The DatePickerViewHelper in ext:form can render inline javascript in the frontend by calling:

$this->getPageRenderer()->addJsFooterInlineCode(...);

This can lead to problems in many cases (like when using a Content Security Policy that disallows inline js).
An alternative solution, that can also include the js as a file, is required.

Reviews 2