new components for dropdownchoices with enum.