I have long thought (but for some reason did not practice) that a drop-down menu that is dynamically generated and contains only one item should automatically select this item. This would run counter to the typical approach that I noticed when an empty entry was made at the top, and you still need to interact with the menu to make the only choice available.
An example is when I go into my online banking and select "View Paper Reports." I have only one account, so the next step in this process is to provide me with a drop-down list where I should select this account to continue. In this case, having completed the above solution, it will take less clicks to select an account and proceed to view it. Even better in this case would be to exclude the menu step of the drop-down menu and proceed to the statement.
Can you come up with a case where automatic selection of one element will lead to undesirable results?
source
share