CascadingModelBinder: remove the IsFixed parameter #47902
Labels
area-blazor
Includes: Blazor, Razor Components
bug
This issue describes a behavior which is not expected - a bug.
Priority:0
Work that we can't release without
Milestone
The new and as-yet unshipped
CascadingModelBinder
has anIsFixed
parameter to control whether the name is allowed to vary. It turns out this is not required because there isn't any situation where the name would need to change dynamically.By removing this flag, and making it behave as fixed in all cases:
CascadingModelBinder
gets simplified a lot - much of the logic relating to checking what's changed and dynamically (re)creating the model binding context can be removed or turned into a simple one-time setup mechanismWe need to do this before .NET 8 ships to avoid it being a breaking change later.
The text was updated successfully, but these errors were encountered: