dropdown option based on attribute