I use the Dialog Service through our application. I noticed yesterday after I updated to 21.2.3, it is no longer working.
The isConfirm value never comes back.
bool isConfirm = await DialogService.ConfirmAsync("Do you want to delete this date and all of its services?", "Delete Date"); ToastService.ShowInfo(isConfirm.ToString());
if (!isConfirm)
{
return;
}
Have confirmed that when I roll back to 21.1.41 the DialogService is working correctly.
I have the same issue.
Same issue!
In my case:
bool confirmResult = false;
//--> dialog window opens
confirmResult = await DialogService.ConfirmAsync("Are you sure?", "Confirmation",
new DialogOptions()
{
PrimaryButtonOptions = new DialogButtonOptions { Content = "Yes" },
CancelButtonOptions = new DialogButtonOptions { Content = "Cancel" },
});
//--> "await" does not stop until the window is closed
//--> the window is visible, but the execution of the program does not wait,
//--> confirmResult is false, regardless of the dialog result
if (confirmResult)
{
...
}
In version 20.4..0.53 the DialogService is working correctly.
Hi Charles,
We would like to inform you that we have resolved the reported issue in our latest version 21.2.4. Therefore, we recommend that you update your NuGet to the latest version to resolve the current problem. Please refer to the sample shared below for reference.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/predefined_dialogs-1657036432
Regards,
Priyanka K