Canvas AI: Unable to mark requested prop as required/optional
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3556946. --> Reported by: [neha_bawankar](https://www.drupal.org/user/3847785) Related to !354 >>> <h3 id="overview">Overview</h3> <p>When requesting Canvas AI to create a new code component and mark its field as mandatory, the AI responds that it has marked it as required. However, in the prop section, the "Required" toggle appears as false.</p> <p>Similarly, while updating code component through Canvas AI, props are not getting marked as Required/Optional.</p> <h3 id="steps-to-reproduce">Steps To Reproduce</h3> <p><code>Create a new quote code component with image and text . Mark both fields required.</code><br> <code>make image field optional</code></p> <h3 id="ui-changes">User interface changes</h3>
issue