#32514Form.css cannot be disabled
Description
Currently the frontend CSS file of the new form element is hardcoded and thus cannot be disabled.
Form.php:
protected function setCss() {
$GLOBALS['TSFE']->additionalHeaderData['tx_form_css'] =
'<link rel="stylesheet" type="text/css" href="' .
t3lib_extMgm::siteRelPath('form') .
'Resources/Public/CSS/Form.css' .
'" media="all" />';
}
I would suggest to remove this method and the CSS include to the TypoScript setup in sysext/form/Configuration/TypoScript/setup.txt.
page.includeCSS.tx_form = typo3/sysext/form/Resources/Public/CSS/Form.css
Same for Confirmation.php.
If you agree with me, I would submit a request to Gerrit.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.