I'm having an issue where when you click into the password field it doesn't actually become secure (i set isSecure=true after the user clicks into it). It is setting the text and text color though. any ideas? Thanks!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | passwordField = native.newTextField( display.contentWidth/2-150, display.contentHeight/2, 300, 35, function(event) if event.phase=="began" then passwordField.text=""; passwordField.isSecure = true; passwordField:setTextColor(0,0,0); elseif event.phase=="submitted" then native.setKeyboardFocus(nil); elseif event.phase=="ended" then end end); passwordField.align="left"; passwordField.size=32; passwordField.text="enter password"; passwordField.font = native.newFont( native.systemFontBold, 24 ) passwordField:setTextColor( 164, 164, 164 ) |