When the initial bound source elements of the picker are 4, and an item with an index of 3 is selected, changing the source elements of the picker to 2 will immediately result in an exception, indicating that "Value does not fall within the expected range."
Ideally, after switching the data source, the selectedIndex should revert to the default value of -1.
Description
When the initial bound source elements of the picker are 4, and an item with an index of 3 is selected, changing the source elements of the picker to 2 will immediately result in an exception, indicating that "Value does not fall within the expected range."
Ideally, after switching the data source, the selectedIndex should revert to the default value of -1.
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
9.0.0 GA
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
no
Relevant log output