fix test vecchio customdialog eliminato

This commit is contained in:
Samuele Locatelli
2026-05-05 11:20:29 +02:00
parent fbeaba90ac
commit 9aaafece6a
@@ -20,16 +20,8 @@
@code {
private BootstrapModal? modal;
private CustomDialog? promptDialog;
private string resultMessage = "";
private async Task AskName()
{
var name = await promptDialog!.ShowAsync();
// var name = await promptDialog!.ShowAsync("Come ti chiami?", "(Super) Mario Rossi");
resultMessage = name is null ? "User cancelled." : $"Hello, {name}!";
}
private string cTitle = "";
private string cMessage = "";
private string cPlaceholder = "";