Issue Bug Under Review

#111095DataHandler: Streamline `null` handling

Daniel Windloff 10/16/26, 05:08 updated 11/20/26, 11:08

Description

DataHandler allows all values to be set to `null` even
if the TCA option is not allowed for this field type.
This `null` handling has been streamlined:

The following TCA field types allow `null` without further options:
  • passthrough
  • user
For the following TCA field types, the option `nullable` is allowed:
  • input
  • color
  • email
  • text
  • number
  • password
  • link
  • datetime (depending on the format)
The following TCA field types are not nullable:
  • uuid
  • imageManipulation
  • check
  • radio
  • slug
  • language
  • country
  • folder
  • flex
  • file
  • inline
  • category
  • select
  • group
  • json

For the `CountryFieldType` the method `isNullable()` now always returns `null`.

Reviews 1

History 011