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

AppointmentManager.ShowAddAppointmentAsync always returns empty string #1394

Open
Yashu7 opened this issue Jul 26, 2023 · 0 comments
Open

AppointmentManager.ShowAddAppointmentAsync always returns empty string #1394

Yashu7 opened this issue Jul 26, 2023 · 0 comments
Labels

Comments

@Yashu7
Copy link

Yashu7 commented Jul 26, 2023

Which sample are you reporting a bug in?
Scenario2_Add.xaml.cs

Example: Scenario2_Add.xaml.cs

Describe the bug
After calling AppointmentManager.ShowAddAppointmentAsync calendar window shows up and disappears immediately, returns empty string. Doesn't throw any exceptions.
https://github.com/microsoft/Windows-universal-samples/blob/7d37b035c2701f189097a5503c9c8e854934479d/Samples/Appointments/cs/Scenario2_Add.xaml.cs#L44C8-L44C8

To Reproduce
Steps to reproduce the behavior:

  1. Open app
  2. Click on Add an Appointment
  3. Click on Add Appointment button
  4. Calendar shows up and disappears

Expected behavior
Calendar window should show up and await for me to add or cancel appointment.

Screenshots
This is after calendar window disappears
image

Configuration
Windows 11 22H2 22621.1928, C#, Visual Studio 2019 Professional

Additional Context
We tried using sample on different machine with similar specs and outcome was the same

@Yashu7 Yashu7 added the bug label Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant