A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
I am trying to create a custom property which exists from multiple other properties: PropertyPageReference, PropertyXhtmlString and PropertyImageUrl.
In the constructor of the class, I have the following:
Link = PropertyPageReference.Parse("");
Text = PropertyXhtmlString.Parse( "" );
Image = newPropertyImageUrl();
Image.LoadData( "" );
The editor-control is using the PropertyControlClassFactory to create the sub-controls. This works fine for the link and text, but for the image this results in the following error:
I also tried creating the property using the Parse-method, but then I'll end up with a PropertyString instead of a PropertyImageUrl.
How should I create the correct property for an new, empty custom property?