-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I'm displaying a list of documents to the user, and I want the user to be able to select a document and see it using the BlazorPdf viewer. Currently, this works fine the first time, however after loading the first document the code to select a document no longer works (ie. has no effect on the BlazorPdf viewer).
If using something like:
@if (_selectedDocuments != null && _selectedDocuments.Any())
{
<div style="max-width: 1200px;">
<PdfViewer
Url="@($"api/pdf/bills/{WebUtility.UrlEncode(_selectedDocuments[0].BillId)}")"/>
</div>
}As stated previously, this works, but only the first time. As with any Blazor, I would expect the component to reload when a parameter changes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels