widget generation for enumerated field type