Canvas AI : List Prop Error When Updating Component Using Canvas AI
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3559298. --> Reported by: [narendrar](https://www.drupal.org/user/1730192) Related to !345 >>> <h3 id="overview">Overview</h3> <p>When updating a component on Canvas AI, the list prop values get removed or missing when adding a follow-up request.</p> <h3 id="str">Steps to Reproduce</h3> <p>Case #1:</p> <p>Create a component on Canvas AI with a list prop (e.g., opt 1, opt 2).</p> <p>After creation, add a follow-up message to update something in the same component. The code updates, but the options in the list prop get removed.</p> <p>Case #2:</p> <p>Create a simple component without a list prop.</p> <p>Add a follow-up message to include a new prop of type list. The new prop gets created, but without its values/options, resulting in a red error.</p> <h3 id="proposed-resolution">Proposed resolution</h3> <p>This seems a regression of <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/canvas/-/work_items/3537620" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/canvas/-/work_items/3537620</a></span> to me. We might need to update <code>PropsSchema.json</code> to handle this updated case</p> <h3 id="ui-changes">User interface changes</h3>
issue