When adding a CommerceMedia item to a product/variant via the "Add Media" button, there is an input field for "Group." I need to change this input to a dropdown that is bound to an enum.
I have a custom EditorDescriptor set up for the CommerceMediaCollection property on the product/variant. This EditorDescriptor inherits from the default CommerceMediaCollectionEditorDescriptor. I've started looking through the various related Dojo files, but I'm having trouble figuring out where to override how each field on the "Add Media" modal is rendered.
Does anyone have experience accomplishing this, or something similar?