Replies: 1 comment 3 replies
-
Hey, I am currently on my mobile so can only keep it short. The page you are referring covers exactly your case: let me know if that helps. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have two very simple components (parent and child) that communicate via two-way binding.
I wrote a very simple POC test class:
The test fails, and if I place a breakpoint on
OnParametersSet
, the variablecurrentValue
is not updated with the new value that should have been updated via two-way binding. If I place a breakpoint on.Bind(c => c.Value, Value, newValue => Value = newValue)
, I can see this code execute and theValue
parameter set with thenewValue
, but it does not propagate toOnParametersSet
correctly.What is the appropriate way to get two-way binding to work? I have been referring to the bUnit docs for a clearer example, but cannot find one.
Any help is appreciate. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions