MRCollective / ChameleonForms

Shape-shifting your forms experience in ASP.NET Core MVC
MIT License
254 stars 56 forks source link

PartialFor implementation #104

Closed zabulus closed 9 years ago

zabulus commented 9 years ago

I've implemented support of PartialFor method. Method can be applied to Model itself and to fields in it. In partial view invoked by the method I've added support to get parent section - ChameleonSection. The view extension can be used to invoke parent Section methods.

robdmoore commented 9 years ago

Thanks for this.

Its really cool.

I still need to set aside some time to go over it with @MattDavies. I apologise for our lack of time lately, we've both had a lot going on personally.

zabulus commented 9 years ago

I found that there is a lack of PartialFor(Expression<Func<T, IEnumerable<TValue>>>) implementation in our project. I look forward to add the implementation and update the PR