Skip to content

[CalendarDatePicker][WASM] Using a CalendarDatePicker in a DataGrid column doesn't commit selected date #6543

@jsinsel-kahua

Description

@jsinsel-kahua

Current behavior

Set up a DataGrid with a DataGridTemplateColumn that has a CellEditingTemplate as a CalendarDatePicker. When the column is editing, you can open the calendar flyout. However, selecting a date will not commit the value to the cell's data item.

Expected behavior

The date selected in the calendar flyout would be applied to the data item.

How to reproduce it (as minimally and precisely as possible)

Attaching a sample project.
App1.Shared.zip

Workaround

Works on UWP/WinUI

No. Microsoft has a similar bug ticket, but the behavior is different. Their flyout immediately closes whereas Uno lets you pick a date.
CommunityToolkit/WindowsCommunityToolkit#2493

Environment

Nuget Package:

  • Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia
  • Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
  • Uno.SourceGenerationTasks
  • Uno.UI.RemoteControl / Uno.WinUI.RemoteControl
  • Other:

Nuget Package Version(s):

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • macOS
  • Skia
    • WPF
    • GTK (Linux)
    • Tizen
  • Windows
  • Build tasks
  • Solution Templates

IDE:

  • Visual Studio 2017 (version: )
  • Visual Studio 2019 (version: )
  • Visual Studio for Mac (version: )
  • Rider Windows (version: )
  • Rider macOS (version: )
  • Visual Studio Code (version: )

Relevant plugins:

  • Resharper (version: )

Anything else we need to know?

Metadata

Metadata

Assignees

Labels

area/date-time-pickersDatePicker, TimePicker, CalendarDatePicker...difficulty/tbdCategorizes an issue for which the difficulty level needs to be defined.kind/bugSomething isn't workingproject/input ⌨️Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions