Problem/Motivation
Removing value of required sdc component property causes fatal error.
Steps to reproduce
- Add "x-canvas-group: content" (or style, etc.) to a required component property (e.g. inside "byte_theme", "heading.component.yml", "heading_text").
- Go to the component settings on the UI and empty the property value of this required property ("Heading Text"):

- Resulting in an error on the settings page, making the entire component unusable, since the input for readding the required input is gone entirely:

Proposed resolution
Without the "x-canvas-group" key, it works as expected, so we should identify the problem and fix it.
Workaround
For properties in x-canvas-group: content simply remove this line, as content is the default anyway. This workarounds the issue.
For properties in style, etc. this doesn't work of course.
Comments
Comment #2
anybodyI can confirm this issue and I think we should see it as major for canvas_builder.
Without
x-canvas-group: Xthe component form works as expected and shows the expected validation error, if a required field is empty.Comment #3
anybodyComment #4
aaronchristian commentedThanks for reporting @grevil
I'll have a fix in shortly to the development branch with a test.
I'll post here when its ready for testing.
Comment #5
aaronchristian commentedComment #7
aaronchristian commentedThis is on the dev branch now.
Comment #8
aaronchristian commentedComment #9
grevil commentedThanks! This does the trick!
Comment #10
grevil commented