forked from thatcher/env-js
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
When selectedIndex is requested for the first time, I think it is best to select the first item in the dropdown if nothing was selected and an option is available.
I did not verify that this is according to specs, but at least FF, IE, Safari and Chrome will never return null in case an option is available.
One way to fix this can be found in orslumen@18d271d
But it is probably more correct to select the first option once the HTML is parsed and no options have been marked as selected yet.
Metadata
Metadata
Assignees
Labels
No labels