Project

General

Profile

Actions

Bug #104075

closed

TCA renderType "selectCheckBox" has lost its "Revert selection"-button

Added by Ayke Halder 2 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2024-06-12
Due date:
% Done:

0%

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

Description

Introduced by https://forge.typo3.org/issues/104012 the TCA renderType "selectCheckBox" has lost its "Revert selection"-button.

Before:

After:

Also see the docs:

https://docs.typo3.org/m/typo3/reference-tca/main/en-us/ColumnsConfig/Type/Select/CheckBox/Index.html


Files

SelectCheckbox7.png (15.8 KB) SelectCheckbox7.png Ayke Halder, 2024-06-12 16:06
clipboard-202406121810-afex4.png (36.8 KB) clipboard-202406121810-afex4.png Ayke Halder, 2024-06-12 16:10
clipboard-202406121813-lv7uu.png (37.1 KB) clipboard-202406121813-lv7uu.png Ayke Halder, 2024-06-12 16:13

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #104012: Unify toggle link occurrences: Use data-multi-record-selection in "Access Rights" of backend user and backend usergroupsClosed2024-06-10

Actions
Related to TYPO3 Core - Bug #104062: Revert selection button in selectCheckBoxElement does ot do anything on initial loadClosed2024-06-11

Actions
Actions #1

Updated by Ayke Halder 2 months ago

  • Related to Task #104012: Unify toggle link occurrences: Use data-multi-record-selection in "Access Rights" of backend user and backend usergroups added
Actions #2

Updated by Jasmina Ließmann 2 months ago

  • Related to Bug #104062: Revert selection button in selectCheckBoxElement does ot do anything on initial load added
Actions #3

Updated by Jasmina Ließmann 2 months ago · Edited

The patch you are referring to with #104012 was merged to main only (see https://review.typo3.org/c/Packages/TYPO3.CMS/+/84602 ).

For TYPO3 v12 LTS, a separate patch was implemented to fix the faulty behavior of the "Revert selection" button (see https://review.typo3.org/c/Packages/TYPO3.CMS/+/84628)

Actions #4

Updated by Ayke Halder 2 months ago

  • TYPO3 Version changed from 12 to 13

The button is not available in TYPO3 13 anymore. Is it intentional?

Actions #5

Updated by Oliver Bartsch 2 months ago

  • Status changed from New to Closed

Hi Ayke,

yes the removal of the button is intentional. The button did not provide real benefit and also lead to inconsistency in the user guidance as it was the only place, such button existed. We therefore decided to remove the button until we have a general solution for a "is dirty" check with a "undo changes" functionality in FormEngine.

Actions #6

Updated by Ayke Halder 2 months ago

The only one place where I actually used it was the permission tables for BE-groups.

Maybe we can add an optional entry to this new check-box-toggle-select-menu "Restore selection".

Something like this might work

Checkboxes initial state:

<input type="checkbox" name="interest" value="coding" />
<input type="checkbox" name="interest" value="music" checked />

After clicking them:

<input type="checkbox" name="interest" value="coding" checked data-dirty-restore="unchecked" />
<input type="checkbox" name="interest" value="music" data-dirty-restore="checked" />

Clicking them again:

<input type="checkbox" name="interest" value="coding" />
<input type="checkbox" name="interest" value="music" checked />
Actions

Also available in: Atom PDF