C#C
C#3y ago
3 replies
CrosRoad95

Blazor two way query parameter binding

    [Parameter]
    [SupplyParameterFromQuery]
    public string Category { get; set; }

How can i bind it two way? for example i open page with
category=foo
, then navigate on the site to category
foo
and it change query parameter value to
bar
?
Was this page helpful?