I have a Titanium.UI.TextField
, which has a blur
event listening on it.
If I enter the textfield, I'm getting the keyboard (makes sense)
If I click on "Done" (or what ever to hide the keyboard on iOS, Titanium.UI.TextField.returnKeyType
) I get the blur event. Which makes also sense.
But now, I don't want to lose the focus, I just want to hide the keyboard, if the returnKeyType gets clicked. How do I achieve this?
thanks for the information