Skip to content

DatePickers in CollectionView2 sometimes display wrong value #32322

@pme442

Description

@pme442

Description

I have a CollectionView using a DataTemplateSelector. Some of my data templates contain DatePickers. When I have more than one item with a DatePicker and I refresh the CollectionView, the DatePickers start displaying the wrong values.

Steps to Reproduce

Note: I added a label (in orange text) under the question text that will display whatever is in the bound property, "Value". So when you answer a question and Value is populated, it will appear in orange text.

  1. Start the app. It will default to the Collection Views Tab. That is where you want to be.
  2. Select the 2nd category (Favorites) -> find the date question labeled "Favorites Date 2" -> Select 9/29/25.
  3. Select the 1st category (Facts) -> It contains 2 date questions: "Facts Date 1" and "Facts Date 2". Leave them unanswered.
  4. Select Favorites category again.
  5. Select the Facts category again -> You'll see that the "Facts Date 1" question now shows 9/29/25. But that question was not answered. There is no orange text. The DatePicker is displaying a date but in reality, "Value" is empty/null.

Note: If you go to the List Views tab and repeat the same steps, it works as expected.

Screen.Recording.2025-10-31.at.3.23.35.PM.mov

Link to public reproduction project repository

https://github.com/pme442/CVIssueApp

Version with bug

9.0.110 SR12

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

Any iOS platform version

Did you find any workaround?

No

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions