Open sahinaydin opened 4 years ago
var formModel = new[]
{
new PropertyVm(typeof(IEnumerable<string>) , "RestrictedMaterials")
{
DisplayName = "RestrictedMaterials",
Choices = new[] { "Guns", "Knives", "Explosives", "Nuclear Waste", "Weaponised Viruses" },
Value = new[] {"Guns", "Explosives"} ,
Readonly = false ,
},
};
FF.PropertiesFor(formModel).Render().Dump();
I think it should be something like that.
Thank you very much. It's worked.
Hello. I would like to create list control programatically. There exist an example about List Rendering on the web page but I could not create this control programatically. Could you help about this matter?