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.
Try using an editor descriptor, you can OverrideDefault with your own widget or look at other options available to remove a specific input
[EditorDescriptorRegistration(
TargetType = typeof(string),
UIHint = "HyperLink",
EditorDescriptorBehavior = EditorDescriptorBehavior.OverrideDefault)
]
internal class CustomLinkEditorDescriptor : EditorDescriptor
{
public override void ModifyMetadata(ExtendedMetadata metadata, IEnumerable<Attribute> attributes)
{
base.ModifyMetadata(metadata, attributes);
if (!metadata.EditorConfiguration.ContainsKey(("providers")))
{
return;
}
var providers = (metadata.EditorConfiguration["providers"] as IEnumerable<object>).ToList();
metadata.EditorConfiguration["providers"] = providers;
}
}
This gave me the following view

Our client uses their own DAM system and therefore wants to remove/hide the field Media from a Link editor where one adds Page/language/Media/Title/Email/External link/Remaining/Url
Has anyone being able to do it?