cms icon indicating copy to clipboard operation
cms copied to clipboard

[5.x]: Table field displays empty default values in CP entry view

Open AlexShearcroft opened this issue 8 months ago • 0 comments

What happened?

Description

When using the Table field type, default values defined for the table's columns are not automatically populated when editing an entry in the Control Panel. The fields appear empty unless data is explicitly entered.

Steps to reproduce

  1. Create a table field
  2. Add columns
  3. Add rows with default values for selected columns
  4. Save the field and add this to the entry type
  5. Access the entry and locate the field to see blank values

Expected behavior

When creating or editing an entry in the Control Panel, the Table field should pre-populate its rows and columns with the default values defined in its settings — so the user sees and can modify those values without needing to input them manually.

Actual behavior

Field Image

Entry Image

Expected to see the first two columns populated with the retrospective values

Craft CMS version

5.7.10

PHP version

8.3

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

AlexShearcroft avatar Jun 16 '25 09:06 AlexShearcroft