Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
While using the SfDialogProvider it would be very helpful to have an additonal parameter (e.g. bool Wrap Text = false) within the methods like AlertAsync that allows to auto render the given content including linebreaks in the UI:
@(WrapText ? (MarkupString)content.Replace(Environment.NewLine,"<br/>")) : content)
In page behind you can use a hack creating a render fragment in code but this is matches the blazor architecture:
await DialogService.AlertAsync(null, "Fehler bei Validierung", new DialogOptions() { ChildContent = builder => { builder.AddContent(0, (MarkupString)result.Replace(
await DialogService.AlertAsync(null, "Fehler bei Validierung", true)