EventCallback for second binding value not work #16937
Labels
affected-very-few
This issue impacts very few customers
area-blazor
Includes: Blazor, Razor Components
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
investigate
severity-minor
This label is used by an internal tool
Milestone
I have two values for binding form parent component to child component.
First value is binded success but second value is not work.
To Reproduce
Child.cs
Parent.cs
When child Initialized, Value1 is send back to parent, Value2 is changed to value of Value2 of parent(not change value in parent).
Parent load: Value1 = 0, Value2 = 0
Child load: Value1 = 1, Value2 = 2
=> after send to Parent:
Parent: Value1 = 1, Value2 = 0
Child : Value1 = 1, Value2 = 0
It seem not good practice. I can change code for a object contain both. But I want to sure this is not a bug?
Further technical details
dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 3.0.100
Commit: 04339c3a26
Runtime Environment:
OS Name: Windows
OS Version: 10.0.18362
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\3.0.100\
Host (useful for support):
Version: 3.0.0
Commit: 7d57652f33
The text was updated successfully, but these errors were encountered: