cms
cms copied to clipboard
if value is null and staticRows is true, use the defaults even if ele…
Description
The docs say the default values will only be used for new elements. But when the static rows setting is turned on, the expectation is that the default values will be used even when the table field is added to a preexisting element.
If the element with a static rows table field was previously saved, even if all the cells are empty, the value won’t be null, and so the empty values will be used to populate it; however if the value of the table field with static rows is null, there should be no harm in using the defaults for the preexisting element.
Related issues
#17451