pass required property to dropdown from select component