You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create new table with static rows and row headings defined in default values as shown in this PR #13231
But table doesnt create it's rows and row headings when added to already existing entry/entry type.
Steps to reproduce
Create or have some already existing entry type and entry.
Create new table field with static rows and some default values. For example row headings.
Add this new table field to the entry type.
Open your entry.
Expected behavior
New table should appear in my entry with predefined default values. In this case predefined row headings.
Actual behavior
Empty table created.
Workaround
When empty table is created you can go back to table field and disable static rows.
In entry add some rows, one is enough and no need to fill them. You just need to initialize the table.
Again go to table field and reenable static rows.
Now your entry should populate with correct number of default rows and row headings if defined.
Craft CMS version
4.5.x-dev
PHP version
8.1.16
Operating system and version
Linux 5.15.0-72-generic
Database type and version
MariaDB 10.6.12
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
The text was updated successfully, but these errors were encountered:
What happened?
Description
I am trying to create new table with static rows and row headings defined in default values as shown in this PR #13231
But table doesnt create it's rows and row headings when added to already existing entry/entry type.
Steps to reproduce
Expected behavior
New table should appear in my entry with predefined default values. In this case predefined row headings.

Actual behavior
Empty table created.

Workaround
When empty table is created you can go back to table field and disable static rows.
In entry add some rows, one is enough and no need to fill them. You just need to initialize the table.
Again go to table field and reenable static rows.
Now your entry should populate with correct number of default rows and row headings if defined.
Craft CMS version
4.5.x-dev
PHP version
8.1.16
Operating system and version
Linux 5.15.0-72-generic
Database type and version
MariaDB 10.6.12
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: