Skip to content

Commit a94f680

Browse files
committed
Update requirement 7.0.202 and fix blazor ComponentNineteen sample
1 parent cb0b028 commit a94f680

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
<input @bind:get="Value" @bind:set="ValueChanged" style="width:500px;" />
1+
<input @bind:get="Value" @bind:set="ValueChangedHandler" style="width:500px;" />
22

33
@code {
44
[Parameter] public string Value { get; set; }
5+
56
[Parameter] public EventCallback<string> ValueChanged { get; set; }
7+
8+
private async Task ValueChangedHandler(string value)
9+
{
10+
await ValueChanged.InvokeAsync(value);
11+
}
612
}

projects/.net7/ComponentNineteen/Pages/Index.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
@Message <br/>
88

9-
<Form Value="@Message" ValueChanged="@MessageChanged" />
9+
<Form Value="@Message" ValueChanged="MessageChanged" />
1010

1111
@code
1212
{

projects/.net7/README.MD

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,7 @@ Samples in this section require .NET 7. You can download it from [here](https://
127127

128128
* [Component - 18](ComponentEighteen)
129129

130-
**BROKEN on GA** This sample demonstrates @bind:after modifier that allows to execute async code after a binding event has been completed (value has changed).
131-
132-
https://github.com/dotnet/aspnetcore/issues/44957
130+
This sample demonstrates @bind:after modifier that allows to execute async code after a binding event has been completed (value has changed).
133131

134132
* [Component - 19](ComponentNineteen)
135133

projects/.net7/global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "7.0.100",
3+
"version": "7.0.202",
44
"rollForward": "major"
55
}
66
}

0 commit comments

Comments
 (0)