Fix for #13514.Set selectedIdx to 0 if a 'wrong' value is set as dropdown-list value

This commit fixes the issue described in the bug ticket when a dropdown-list is set to a value which doesnt match with any of its options' value.