Where the field value could be 6, meaning “bar | baz”. When it’s a single value, it displays as expected (i.e. 1 = “foo”), but combined results just show the numerical value instead of the set flags.
Is there a way to have the value column of the template show the combination of flags for a given enum type?
010 Editor does not have a built-in flags type right now although we may add one in the future. For right now you can replicate a flags type using a custom ‘read’ function. Something like this should work:
I have templates that have quite a lot of enums with a lot of flags.
While this is a nice solution, I didn’t find a way to apply it generically, and writing out all those enums is a lot of work generating a lot of boilerplate code.
I appreciate your commitment to add flags in the future; IMHO a checkable dropdown list would accompany it quite nicely!