Project

General

Profile

Actions

Task #90264

closed

form: DatePickerViewHelper is using inline js

Added by Christian Eßl about 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2020-01-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Sprint Focus:
Remote Sprint

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.

Actions

Also available in: Atom PDF