Project

General

Profile

Actions

Task #90238

closed

In finishers fieldExplanationText does not work on all inspectors

Added by Stig Nørgaard Færch almost 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2020-01-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:
Remote Sprint

Description

fieldExplanationText works fine with Inspector-TextareaEditor and Inspector-TextEditor, but does not seem to work at all with Inspector-CheckboxEditor.
There might be more inspectors where it doesn't work.
Try this, which will add a couple of fields to both email finishers:

TYPO3:
  CMS:
    Form:
      mixins:
        formElementMixins:
          formEmailFinisherMixin:
            editors:
              2000:
                identifier: 'includeFormValues'
                templateName: 'Inspector-CheckboxEditor'
                label: 'Include form data in mail'
                propertyPath: 'options.includeFormValues'
                fieldExplanationText: 'The explanation text is not shown'
              2100:
                identifier: 'customText'
                templateName: 'Inspector-TextareaEditor'
                label: 'Alternative text for mail'
                propertyPath: 'options.customText'
                fieldExplanationText: 'This explanation does show'


Files

2021-08-13_13-01.png (5.42 KB) 2021-08-13_13-01.png Mathias Brodala, 2021-08-13 11:02

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #101831: fieldExplanationText in form finisher checkboxes not renderedClosed2023-09-03

Actions
Actions #1

Updated by Björn Jacob over 4 years ago

  • Sprint Focus set to Remote Sprint
Actions #2

Updated by Björn Jacob over 3 years ago

  • Tracker changed from Bug to Task
  • TYPO3 Version changed from 9 to 11

Seems legit, but only for v11 as task.

Actions #3

Updated by Mathias Brodala over 3 years ago

It actually works as can be seen e.g. with the Add HTML part option of the mail finishers which is a checkbox:

Can you add more details about your setup and/or try again with the latest v10 or master?

Actions #4

Updated by Björn Jacob over 3 years ago

  • TYPO3 Version changed from 11 to 10
Actions #5

Updated by Riccardo De Contardi about 3 years ago

  • Status changed from Needs Feedback to Closed

No feedback since the last 90 days => closing this issue.

If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one.

Thank you and best regards

Actions #6

Updated by Elias Häußler about 1 year ago

Although this seemed to work with TYPO3 v10 (see #note-3 from Mathias), I can confirm that fieldExplanationText currently doesn't work for some elements, e.g. checkboxes (tested with TYPO3 v12.4.5). I think there's actually no reason why this should work for a limited set of editors only. Should I create a new issue?

Actions #7

Updated by Elias Häußler about 1 year ago

  • Related to Bug #101831: fieldExplanationText in form finisher checkboxes not rendered added
Actions #8

Updated by Elias Häußler about 1 year ago

fyi: I created #101831 and will push a fix for this soon.

Actions

Also available in: Atom PDF