Ugly but working dropdown field.