Fix selection widget construction with default values and labels.

Fixes #4961
- Don't validate labels and values until end of construction.
- Added test to make sure a selection widget can be created with a default values and labels.