Replies: 2 comments 6 replies
-
You need to pass context to the command. Sample: https://github.com/xamarin/XamarinCommunityToolkit/blob/main/samples/XCT.Sample/Pages/Behaviors/CharactersValidationBehaviorPage.xaml#L57 |
Beta Was this translation helpful? Give feedback.
6 replies
-
Closed as answered |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use the EventToCommandBehavior on an Entry field. My code is as follows:
I know that TextChanged is the event that fires whenever something is typed into the Entry. However, I cannot get the ToggleIsSubmitButtonEnabledCommand to fire (It does work, I can fire it through a Command Property on a button). Does anyone have any advice as to why the Community Toolkit behavior won't work on this?
P.S. I removed the TextChanged="OnTextFieldChanged" from the Entry, but that did not solve the problem.
Beta Was this translation helpful? Give feedback.
All reactions