London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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