Skip to content
This repository has been archived by the owner on Nov 12, 2020. It is now read-only.

Completed event and ReturnCommand do not work #107

Open
1 task
jokogarcia opened this issue Jan 7, 2020 · 0 comments
Open
1 task

Completed event and ReturnCommand do not work #107

jokogarcia opened this issue Jan 7, 2020 · 0 comments

Comments

@jokogarcia
Copy link

jokogarcia commented Jan 7, 2020

#74 Bug
The native Xamarin.Forms Entry view has a Completed event and a ReturnCommand that can be used to run an action when the user presses the "return key". These properties are exposed in Xfx.Entry but have no effect.
Simply changing the "xfx.entry" into a vanilla "Entry" item, causes the event / command to fire again.

  • Version Number of Control:1.2.1
  • Device Tested On: Alcatel TCL 5033A w/ Android Oreo
  • Simulator Tested On: pixel_2_pie_Android_9

Affects

  • iOS (have not tested it)
  • [ x] Android

Expected Behavior

Command bound to ReturnCommand property to fire when user press return key
and
Completed event in view codebehind fire as well.

Actual Behavior

Command bound to ReturnCommand property and Completed event are ignored.

Steps to reproduce the Behavior

Create a view with a xfxentry in XAML.
Create a OnEntryCompleted event on View codebehind and / or create a ReturnCommand in viewModel
Set Completed property of xfxentry to OnEntryCompleted and / or set the ReturnCommand property to {Binding ReturnCommand} in XAML
Execute and test to see that the event and the command are ignored. They are not fired when the user presses the "enter" key on soft-keyboard.
Change the Xfx.Entry to a simple Entry and see that the events and commands are properly executed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant