Enumeration Field Alternate selectedValues as List

Topics: Writing themes
Mar 27, 2014 at 6: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!!!
Developer
Feb 10, 2015 at 12:06 PM
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.