Bug #94817

Cannot check an unchecked null-value checkbox for fields in the backend

Added by Robert Kärner 2 months ago. Updated about 2 months ago.

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

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
TCA, null, checkbox, eval
Complexity:
Is Regression:
Sprint Focus:

Description

Reproduce

  • Configure a simple text input field ('type' => 'input') in TCA to allow null values ('eval' => 'null')

Result

A checkbox "Set value" to allow null values is shown in the backend as expected.
However, once you uncheck this checkbox, it becomes permanently disabled and you cannot re-check it.

Expected behaviour

The unchecked checkbox should be clickable so that you can check it again.
This worked fine in Typo3 10, and stopped working with Typo3 11.

#1

Updated by Gerrit Code Review 2 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70451

#2

Updated by Anonymous 2 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#3

Updated by Benni Mack about 2 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF