webiny / webiny-js

Open-source serverless enterprise CMS. Includes a headless CMS, page builder, form builder, and file manager. Easy to customize and expand. Deploys to AWS.
https://www.webiny.com
Other
7.22k stars 589 forks source link

fix(ui): convert table cell values to string for rendering #4175

Closed leopuleo closed 2 weeks ago

leopuleo commented 2 weeks ago

Changes

With this pull request, we address a bug encountered when adding a new column that targets a boolean field without specifying a custom cell renderer. As a result, the field content does not appear in the table.

We are fixing it by converting any cell value to a string for rendering to ensure the table displays values correctly. This aligns with React's rendering, which expects JSX, strings, or null.

How Has This Been Tested?

Manually