❔ Blazor Binding question
Given the Screenshot i have build something that doesnt work propperly. I am pretty sure its just what i am doing wrong
- the left part shows where the item component from mid is created and the item is set
- in the center the State property is what is my issue. If i set it (after the constructor) via SetState, to be seen on the right side, the ui doesnt update.
i think its because it is a "deep binding" what i do in the center part. But as my experience in Blazor is limited, i am unsure on what would be the propper solution. Just calling StateHasChanged in the center part i think would work, but i dont think this is the correct approach.
i hope someone here has insight on how to do this the right way
2 Replies