Function to a object set on the dropdown by id

#2790
Fix cs error
fix cs error
Merge pull request #183 from AlecErasmus/master

Function to a object set on the dropdown by id