blazorbootstrap icon indicating copy to clipboard operation
blazorbootstrap copied to clipboard

Confirm Dialog: Render HTML

Open talanw opened this issue 3 months ago • 0 comments

Describe the bug I'm trying to run a ConfirmDialog box with some custom HTML in it. After running the ShowAsync method all of the HTML Tags are presented as plain text. This might be by design but it would be good if we could make use of HTML Tags within the confirmation dialog box to make specific data stand out.

To Reproduce await a showAsync for the ConfirmDialog component with HTML tags in it

Expected behavior A clear and concise description of what you expected to happen.

var Confirmation = await Hint.ShowAsync("Are you sure you want to delete this user?", $@"You have requested to delete {user}", ButtonOptions); if(Confirmation) { //doing additional stuff }

Blazor Bootstrap version 1.10.5

talanw avatar Mar 08 '24 17:03 talanw