Bug #86910

All text input fields get required="required" attribute

Added by Alexander Grein about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2018-11-12
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

To reproduce, 1. generate a test.form.yml using a simple text Node:

identifier: test
label: 'Test'
prototypeName: standard
type: Form
renderables:
  -
    identifier: page-1
    type: Page
    label: 'Page 1'
    renderables:
      -
        identifier: test
        type: Text
        label: Test
        properties:
          fluidAdditionalAttributes:
            placeholder: Test

2. Choose this form in a form content element
3. Open page with the generated form in the frontend

Expected: A form containing a input field without a required="required" attribute

Reality: A form with a required="required" attribute


Related issues

Duplicates TYPO3 Core - Bug #86890: AbstractTagBasedViewHelper recycles the TagBuilder New 2018-11-08

History

#1 Updated by Alexander Grein about 1 month ago

Additional Info about this bug:

It only happens right after clearing caches and reload the form page the first time.

After reloading the same page again, the additional required attribute disappears.

#2 Updated by Wouter Wolters about 1 month ago

  • Duplicates Bug #86890: AbstractTagBasedViewHelper recycles the TagBuilder added

#3 Updated by Wouter Wolters about 1 month ago

  • Status changed from New to Closed

Duplicates #86890 please continue there

#4 Updated by Jonas Eberle about 1 month ago

Just to add this here:

I cannot reproduce with just 1 (unrequired) field. To reproduce, I have to add 1 required field before.
Do you only have 1 form on this page?

#5 Updated by Alexander Grein about 1 month ago

No, I have several required fields before.
I did not think that mattered.

Also available in: Atom PDF