Overview
When a user uses the AI feature to edit a code component with a prop of type List:text, after a successful edit, the available value options for that prop become empty.
Steps To Reproduce
Scenario 1 :
Create a code component :
Create a dropdown component , with prop type as "List:text" and options as - Red , Blue , Green , Yellow
Observe options values for prop Selected Color is populated
Edit Code Component :
For code component "Color Dropdown" , Exactly below the dropdown add one more prop of type "Text" labeled as note
Observe options values for prop Selected Color is empty
Scenario 2 :
Make a testimonial card with only author name , author avatar and quote , where quote is aligned left to author avatar
Add author role field below author name field to the above created component named as “Testimonial Card“
Proposed resolution
User interface changes
| Comment | File | Size | Author |
|---|---|---|---|
| editcomponent.mov | 11.22 MB | neha_bawankar | |
| 5383.mov | 19.09 MB | neha_bawankar |
Issue fork canvas-3558182
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
penyaskitoIs this still an issue? If it is, should be moved to the Canvas project.
Comment #4
utkarsh_33 commentedI think this is duplicate of #3559298: Canvas AI : List Prop Error When Updating Component Using Canvas AI. I tried the prompts mentioned in https://www.drupal.org/project/canvas/issues/3559298#comment-16357869 an i can't reproduce this issue any more. I think it's safe to close this as duplicate.