.NET 8 Blazor - OnChange() Migration To Static Rendering #54018
Labels
area-blazor
Includes: Blazor, Razor Components
✔️ Resolution: Answered
Resolved because the question asked by the original author has been answered.
question
Status: Resolved
Is there an existing issue for this?
Describe the bug
When migrating Blazor component logic to utilize the Static rendering approach, you need to replace interactive event handlers with static equivalents.
For example, for
@onclick
events:you can use a form-based approach:
However for
@onchange
events:There are currently no recommendations or functional examples.
Expected Behavior
Provide documentation examples on the recommended approach for migrating interactive
@onchange
events to static alternatives.Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
8.0.1
Anything else?
No response
The text was updated successfully, but these errors were encountered: