Overview

When a code component is created and an Image field is marked as required (see attached video for exact steps to reproduce), component fails to render with error "[canvas:image/] The property is required."

Proposed resolution

User interface changes

CommentFileSizeAuthor
image-prop-issue.mov12.03 MBnarendrar

Comments

narendrar created an issue. See original summary.

wim leers’s picture

Title: Error while marking image field as required prop » Code component editor does not require providing an example for required "image" props, then results in 500
Component: … to be triaged » Theme builder
Assigned: Unassigned » hooroomoo
Issue tags: +JavaScript, +Usability
Related issues: +#3574668: User has no way of knowing that a required prop needs an example value