Trying to build an XForm dynamic content but I'm unable to save the PropertyXForm value when i edit the dynamic content. I'm able to select a form to use and press save but if I edit the dynamic content again i can see that nothing has been saved. Something I also noticed is that the textbox which displays the form name which usually i disabled is now enabled.
I tried adding another propery of type PropertyString to see if there were some general error but I'm able to save that property value without problem.
This is how my dynamic property class looks like
[DynamicContentPlugIn(DisplayName = "XForms", ViewUrl = "~/Views/Shared/XForm.cshtml")] public class XForms : DynamicContentBase { public XForms() { Properties = new PropertyDataCollection { { "XFormControl", new PropertyXForm() }, { "teststring", new PropertyString() } }; }
}
This is how the dynamic content edit control looks like: http://s11.postimg.org/o3mts19mr/xform_dc.png
Trying to build an XForm dynamic content but I'm unable to save the PropertyXForm value when i edit the dynamic content. I'm able to select a form to use and press save but if I edit the dynamic content again i can see that nothing has been saved. Something I also noticed is that the textbox which displays the form name which usually i disabled is now enabled.
I tried adding another propery of type PropertyString to see if there were some general error but I'm able to save that property value without problem.
This is how my dynamic property class looks like
[DynamicContentPlugIn(DisplayName = "XForms", ViewUrl = "~/Views/Shared/XForm.cshtml")]
public class XForms : DynamicContentBase
{
public XForms()
{
Properties = new PropertyDataCollection
{
{ "XFormControl", new PropertyXForm() },
{ "teststring", new PropertyString() }
};
}
}
This is how the dynamic content edit control looks like: http://s11.postimg.org/o3mts19mr/xform_dc.png