mcintyre321 / FormFactory

MVC5, Core or standalone - Generate rich HTML5 forms from your ViewModels, or build them programatically
http://formfactoryaspmvc.azurewebsites.net/
MIT License
304 stars 102 forks source link

Choices rendering incorrectly #23

Closed simonjudoduff closed 8 years ago

simonjudoduff commented 8 years ago

When there are a set of choices defined on the ViewModel, the selectlist correctly displayed, but the options are also rendered as a bullet list. It looks like the properties are not being selected to exclude _choices properties correctly.

simonjduff commented 8 years ago

Looks like a regression in ed6d6a94bc0c1fce5f1d064c4964f9b52a99f2f2 where you'd refactored at some stage "Choices" to become "_choices" but missed a reference when it came to skipping the property