Support long select menus if a field has the "long" class (see #5173)