Bug 37785 - [UWP] Databinding to Picker does not work when also using a ValueConverter
Summary: [UWP] Databinding to Picker does not work when also using a ValueConverter
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 2.0.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-01-19 05:30 UTC by syabiku
Modified: 2017-07-13 19:02 UTC (History)
3 users (show)

Tags: uwp, picker, ac, binding
Is this bug a regression?: ---
Last known good build:


Attachments
VS2015 solution (6.53 MB, application/x-zip-compressed)
2016-01-19 05:30 UTC, syabiku
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 37785 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description syabiku 2016-01-19 05:30:40 UTC
Created attachment 14623 [details]
VS2015 solution

Overview
When creating a binding of a Forms picker to an object and you also use a Value Converter, the binding will work when the page is first loaded. However, if the object's value changes, the picker will not update.

Steps to Reproduce
Use attached solution and test the UWP and Android projects.

Actual Results
Picker in UWP does not update when the object it is bound to changes. Picker in Android does update.

Expected Results
Picker should update in both UWP and Android projects.

Build Date & Hardware
Visual Studio Enterprise 2015, Update 1. Windows 10 Professional.

Additional Builds and Platforms
The attached solution works as expected for Android; Windows UWP has the unexpected behavior. I did not test iOS or WinPhone. I tested this with Forms 2.0.0.6490 and 2.0.1.6492-pre1 and got same results (works for Android, not UWP).
Comment 1 Tony 2017-01-17 19:42:36 UTC
I am also having a strange issue with the Picker on UWP
Comment 2 David Ortinau [MSFT] 2017-06-22 02:36:05 UTC
Confirmed still an issue on 2.3.6.112-nightly.
Comment 3 safakoktem 2017-07-13 19:02:35 UTC
Is there any update or workaround?