Closed marcscheuner-bfh closed 4 days ago
@marcscheuner-bfh Thank you for trying BlazorBootstrap!
Please refer to any of the examples mentioned on the demos page: https://demos.blazorbootstrap.com/confirm-dialog.
Docs reference links:
Screenshot for reference.
Describe the bug Trying to get the "confirm dialog" sample to work in .NET 8 Blazor Server.
To Reproduce Steps to reproduce the behavior:
Error In the "mypage.razor" page, the line
<ConfirmDialog @ref="dialog" />
is marked with
Error (active) CS0029
Cannot implicitly convert type 'Microsoft.AspNetCore.Components.ElementReference' to 'BlazorBootstrap.ConfirmDialog' Bfh.Ris.Projekteditor
Expected behavior A confirmation dialog should be shown when code runs
Versions (please complete the following information):