added support for reading a control with a nil label but non-nil value (like the text field in a UISearchBar)
(cherry picked from commit b0ff2d85c85959d7d28e47c1f1a7522523b62865)