Closed Code-DJ closed 8 months ago
I can confirm that it is a MauiReactor bug, the Picker expects that the selected index is valid but MauiReactor was setting it before the ItemsSource. Releasing in coming version, thanks for the report
fixed in 2.0.18-beta
Hi @adospace I didn't see any Picker related code in you fixes from 2.0.18-beta so assumed you were still working on it. Will try and update this comment. Thank you!
Sorry it was from 2.0.17 beta, it should work with the latest version anyway
It works. Thank you!
There may be a bug in the Picker control either in reactorui or possibly the underlying MAUI control.
iOS - 2.0.15-beta
This is a slightly modified version of the PickerTestPage. Run with
.UseMauiReactorApp<MainPage>()
. When you run the app, note how the label changes from (-1) to (1) but the Picker never shows the selected value. If you click on the Picker and then select something, it works.Note: I added Task.Run with delay to simulate API call but it doesn't work without it either.