question

IlyaE-9468 avatar image
0 Votes"
IlyaE-9468 asked IlyaE-9468 answered

Behavior and System.Reflection.TargetInvocationException

I have a Signup view with an Entry and a behavior attached to that Entry. Then I have a ViewModel page which handles binding properties. When I try to navigate to the Signup page I get System.Reflection.TargetInvocationException. The issues goes away if I remove Text="{Binding Email, Mode=TwoWay}" from my Entry control. What am I doing wrong? Thanks

dotnet-xamarin
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@IlyaE-9468 Base on your description, we could not reproduce the issue. Could you provide a minimal, reproducible example?

0 Votes 0 ·

1 Answer

IlyaE-9468 avatar image
0 Votes"
IlyaE-9468 answered

Hi Kyle. I figured out what the problem was. Binding mode was set to Twoway. When I switched to Onewaytosource the issue went away. Thank you for replying

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.