Project

General

Profile

Actions

Bug #94927

open

<f:form novalidate="false" /> does not work as expected

Added by Česlav Przywara over 2 years ago. Updated 4 months ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2021-08-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

As the title says: <f:form novalidate="false" /> (or <f:form novalidate="" />) is rendered as <form novalidate ...> instead of <form ...>.

In our use case, it is impossible to control the novalidate attribute from Yaml setup, because false-like values end up having the same effect as true value.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Feature #90181: TagBuilder does not support boolean attributes without valuesAccepted2020-01-23

Actions
Actions #1

Updated by Česlav Przywara over 2 years ago

  • Related to Feature #90181: TagBuilder does not support boolean attributes without values added
Actions #2

Updated by Riccardo De Contardi 11 months ago

Just a note:

AFAIK attributes without values should be written e.g. like <form formnovalidate="formnovalidate"> and not <form formnovalidate="false">
As far as I have understood here https://forge.typo3.org/issues/90181 this is already possible (albeit redundant, as written there)

Actions #3

Updated by Gerrit Code Review 4 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/82420

Actions

Also available in: Atom PDF