Skip to content

Nullable support is not working properly on Windows TimePicker and macOS DatePicker and TImePicker #32266

@MohanrajVSF3559

Description

@MohanrajVSF3559

Description

  1. On Windows, TimePicker renders a default time when its value is null, both on first load and after runtime updates, instead of showing an empty state.
  2. On macOS, DatePicker and TimePicker render the default date/time when their values are null, again both initially and dynamically, rather than remaining empty.

Steps to Reproduce

  1. Run the sample.
  2. You can see the date picker and time picker have default values instead of null.
  3. Click the AllValueNull button.
  4. You can see the date and time picker has a default value.
  5. You can refer the demo video below

https://github.com/user-attachments/assets/052ae74c-459f-4f9c-806a-5f8129a1e805
https://github.com/user-attachments/assets/a9b0e577-77d8-4662-ba3a-4d2988ab3a5c

Link to public reproduction project repository

DateTimeSample 1.zip

Version with bug

10.0.0-rc.2

Is this a regression from previous behavior?

Not sure, did not test other versions, No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

macOS, Windows

Affected platform versions

No response

Did you find any workaround?

No

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions