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
[object Object] is sometimes output when switching between column types in Table field settings.
Steps to reproduce
See video!
Screen.Recording.2023-06-09.at.12.20.08.PM.mov
Create a new column in a Table field's settings;
Set it to Date;
Add one or more rows to the Default values table;
Change the column type to Single-line text or any other plain textual type
Observe [object Object] output in default field;
Additionally, switching from a Date column type to Checkbox causes the default to be checked. Similarly, switching from Date to Color causes a JS error. 🚨
Expected behavior
Incompatible column type data is discarded when switching
Actual behavior
Undesirable default value is inserted into the default rows, or a JS error occurs.
Craft CMS version
4.5
PHP version
8.0.28
Operating system and version
macOS 13.1
Database type and version
MariaDB 10.4.28
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
None!
The text was updated successfully, but these errors were encountered:
What happened?
Description
[object Object]
is sometimes output when switching between column types in Table field settings.Steps to reproduce
See video!
Screen.Recording.2023-06-09.at.12.20.08.PM.mov
[object Object]
output in default field;Additionally, switching from a Date column type to Checkbox causes the default to be checked. Similarly, switching from Date to Color causes a JS error. 🚨
Expected behavior
Incompatible column type data is discarded when switching
Actual behavior
Undesirable default value is inserted into the default rows, or a JS error occurs.
Craft CMS version
4.5
PHP version
8.0.28
Operating system and version
macOS 13.1
Database type and version
MariaDB 10.4.28
Image driver and version
Imagick 3.7.0 (ImageMagick 6.9.11-60)
Installed plugins and versions
None!
The text was updated successfully, but these errors were encountered: