implement dropdown field type