Project

General

Profile

Actions

Bug #93587

closed

FLUID f:form.button without "content" is not rendered validly (self closing)

Added by Christian Hackl about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-02-24
Due date:
% Done:

100%

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

Description

FLUID f:form.button without "content" is not rendered validly.

Examples:

<f:form.button type="reset" name="buttonName" value="buttonValue"></f:form.button>

is renderd like:
<button type="reset" name="buttonName" value="buttonValue" />

But html-tag button is a not self-closing tag. So it should be like (with end-tag "</button>"):

<button type="reset" name="buttonName" value="buttonValue"></button>

Workaround:
add a "space" between <f:form.button> and closing </f:form.button>.


Files

f-form-button.JPG (168 KB) f-form-button.JPG w3c Christian Hackl, 2021-02-24 18:46
Actions

Also available in: Atom PDF