-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
When leaving a page, OnParametersSetAsync is called
Expected Behavior
When leaving a page, OnParametersSetAsync is not called
Steps To Reproduce
run the application. open dev tools to watch messages. Select a hospital from dropdown. Go to 'Hospital Ratios'; a message that OnParametersSet is correctly displayed for the hospitalratios page.
OnParametersSetAsync called for HospitalRatiosPage: https://localhost:7062/hospitalratios?HospitalCode=387&Year=2024
Click button to navigate back to hospitals page; OnParametersSetAsync is called for the HospitalRatios page, but the current uri is the Hospitals data page.
OnParametersSetAsync called for HospitalRatiosPage: https://localhost:7062/hospitals?HospitalCode=387&Year=2024
Exceptions (if any)
No response
.NET Version
9.0.7
Anything else?
ASP.NET Core Version: 9.0.7
No ide, using dotnet watch run
repo: https://github.com/eric-gurney-omac/BlazorIssue.git