-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
From @bachras on May 4, 2017 14:1
Hi,
I am trying to implement TexView and submit it by pressing return button. However instead of submitting cursor goes to new line and doesn't do anything else. I have tried all examples i could found online, i also install this examples app and noticed that it is the same behaviour.
I added alert() :
submit(args) {
alert("Submit Text: " + this.tvtext);
let textview: TextView = <TextView>args.object;
if (isAndroid) {
textview.android.clearFocus();
}
}
But nothing is alerted after return(Send) button is clicked. Does anyone have idea what could be wrong? Thank you in advance.
Copied from original issue: NativeScript/nativescript-sdk-examples-ng#183
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.