Open mediaessenz opened 1 year ago
Possible solution:
Change the return to:
return $this->jsonResponse();
and remove additionalHeaders.10.header
from the TypoScript.
Additional remove all whitespaces from EXT:femanager/Resources/Private/Partials/Misc/ValidationMessages.html
The corresponding TypoScript set Content-Type to application/json:
The Action due to the usage of
return $this->htmlResponse();
returnsContent-Typ: text/html; charset=utf-8
.In the end, the browser doesn't get back the right format and a response for an invalid field looks like this:
Therefore not validation appears in the frontent and the console shows this error message: