Open Dimmies opened 3 months ago
I don't believe this is something for us to fix, GetHashCode for a dictionary isn't the correct way to use it.
Alternatively, you could make an extension method that lets you calculate hash codes for each keyvalue and combine it into a hash.
Also, If you control the whole system, you could update the panel manually with StateHasChanged()
Describe the bug
Updating the value of a Dictionary doesn't seem to trigger BuildHash to update Razor panels.
Here's an example I made. When you press E (interact), it adds a new value to the Dictionary, but it wont update and show on the UI until you press Tab (Score) to update
var1
.To Reproduce
Expected behavior
Panel to update when dictionaries do
Media/Files
No response
Additional context
No response