Hello,
I have a form with native.newTextField, to tap the text box it goes up the keyboard, type in the required text and clicking submit it hides the keyboard, so far ok.
My second text box has an event that directs to another scene with a tableView, what happens: I click on my first text box, type in the text and NOT click on send, right clicked on the Second text box that draws tableView, but clicking it does not hide the keyboard, and it is above the tableView, by clicking submit it does nothing, follows the event that I use:
local botaoConta = function( event ) local ass = inputAss.text composer.setVariable( "ass", ass ) local obs = inputObs.text composer.setVariable( "obs", obs ) -- began and ended, event touch text box if ( "began" == event.phase or "ended" == event.phase) then --hide keyboard native.setKeyboardFocus( nil ); local close = "1" if (close == "1") then composer.gotoScene( "account") end end end
Thanks for listening