I cannot seem to apply a new line to the message property of the Alert Dialog. The message property only takes a string and any Markup I include in the string is ignored? I've tried various combinations (environment.newline,n,
etcbut the result is the same no new line.
await DialogService.OpenAsync(
"",
ds => @<AlertDialog Title="Error"
Icon="info"
Message="@(string.Join('\n',result.Error.Data.Select(entry => $"<br>{entry.Error}")))"
OnConfirm="() => ds.Close(true)"/>,
new DialogOptions
{
ShowTitle = false,
ShowClose = false
});