Repository navigation
[BUG] PageDialogService.DisplayAlertAsync causes ArgumentNullException in .NET 10 #3364
DescriptionWhen using Prism.Maui's PageDialogService.DisplayAlertAsync in .NET 10 environment, an ArgumentNullException occurs causing the application to crash. Despite passing clearly non-null string parameters, the cancel parameter is somehow converted to null within Prism's internal processing and causes an error when passed to MAUI's Page.DisplayAlertAsync. |
Replies: 1 comment
|
This does not seem to be caused by Prism. MAUI is dropping a parameter in a DisplayAlert overload, which results in the problematic ArgumentNullException. GitHub Issue: dotnet/maui#31473 I already contributed a PR in order to fix that: dotnet/maui#31474 |
This does not seem to be caused by Prism. MAUI is dropping a parameter in a DisplayAlert overload, which results in the problematic ArgumentNullException.
GitHub Issue: dotnet/maui#31473
I already contributed a PR in order to fix that: dotnet/maui#31474