When using the default siteEditField function
And the field does not exist in the broker it generates an exception, that the field does not exist. What I expected was that the method
public static MvcHtmlString SiteEditField(this HtmlHelper helper, IComponent component, IField field, int index)
Would validate the input of value, if the field is empty or none existing to generate the siteedit tags for empty field.
How can this best be achieved; Extending the SiteEditHelper is not allowed since its a sealed class.