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 suppose you could use the standard way of setting default values in Episerver, which is to override SetDefaultValues:
public override void SetDefaultValues(ContentType contentType)
{
base.SetDefaultValues(contentType);
//Set values here
}
This will only work on new content though.
Hi,
I have a string property marked with the SelectOne property, which displays as a drop down in the editor:
How can I declare a default value for the drop down?
Many thanks