Issue Bug Closed

#99381TCA columnsOverrides overrides default values set via defVals

Helmut Hummel 12/15/22, 12:11 updated 07/09/24, 12:46

Description

Prerequisite

Given the following configuration:

TCA/tt_content/types/menu_pages/columnsOverrides/sys_language_uid/config =

default = 0
renderType = hidden
type = input

Test

When I create a record of type menu_pages in sys_language_uid = 4 via page module

Expectation

I expect the sys_language_uid is rendered as hidden field with value 4 in HTML of the editing form

Actual result

Currently the hidden field has the value 0

The reason for that is the change in #86876 which does not respect a default value set in “defaultValues”

Reviews 2