Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Add UpdateMode for picker cells to have the value updated immediately #97

Open
paya-cz opened this issue Apr 16, 2020 · 0 comments

Comments

@paya-cz
Copy link

paya-cz commented Apr 16, 2020

Summary

Picker cells update their value once the picker overlay is submitted. Xamarin.Forms actually comes with an iOS-specific flag that can be set up on pickers to update the value immediately:
https://docs.microsoft.com/en-us/xamarin/xamarin-forms/platform/ios/picker-selection

Consider adding a flag like this so the value of the cell is updated as the user spins the picker.

API Changes

The source code for the Xamarin.Forms implementation is available here:

https://github.com/xamarin/Xamarin.Forms/blob/bd31e1e9fc8b2f9ad94cc99e0c7ab058174821f3/Xamarin.Forms.Core/PlatformConfiguration/iOSSpecific/Picker.cs
https://github.com/xamarin/Xamarin.Forms/blob/1be09cb36dd9283361c92072f105cec1bc2bd08c/Xamarin.Forms.Platform.iOS/Renderers/PickerRenderer.cs#L362

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant