Project

General

Profile

Actions

Bug #93613

closed

TCA Column property on change does not work with input field

Added by Lina Wolf over 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2021-02-28
Due date:
% Done:

100%

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

Description

I tested this on v 11.0.0 and 11.1.0

The following does not trigger the field changed dialog (neither on using the arrow to change the field nor on typing and then leaving the field):

'input_3' => [
            'exclude' => 1,
            'label' => 'input_3',
            'description' => 'Try values between 0 and 6',
            'onChange' => 'reload',
            'config' => [
                'type' => 'input',
                'eval' => 'trim,int',
            ],
        ],
        'input_4' => [
            'exclude' => 1,
            'label' => 'input_4',
            'description' => 'displayCond=FIELD:input_3:=:0',
            'config' => [
                'type' => 'input',
                'displayCond' => 'FIELD:input_3:=:0',
            ],
        ],

When changing the field "input_3" to be a select box the dialog appears as expected.

Actions

Also available in: Atom PDF