Enumeration Field Alternate selectedValues as List

Topics: Writing themes
Mar 27, 2014 at 5:46 PM
This is likely a really simple question for any C# dev and I'm kind of embarrassed to ask, but here goes ;)

How can I display the "selectedValues" of an enumeration field as a list rather than a comma separated (or other custom separator) string?

Thanks for any help!!!
Feb 10, 2015 at 11:06 AM
Create an alternate in your theme to override the Display of the EnumerationField :
Use the 'Shape Tracing' or copy the Modules\Orchard.Fields\Views\Fields\Enumeration.cshtml and paste it it in your theme naming it Fields.EnumerationField.cshtml.
Then change the code to generate a list instead of the values separated by a comma.