Native textField.isSecure property creates background

Hello Everyone.

So, I am kind new in corona. I am creating a password text input, this input does not has a background, but when I set the property isSecure = false it creates a white background automatically. Anyone has notice that or am I doing something wrong?

Thanks in advanced.

This is the code:

[lua]passwordGroup.passwordInput = native.newTextField( passwordGroup.iconHolderPass.width/2, 0, passwordGroup.background.width - passwordGroup.iconHolderPass.width, passwordGroup.background.height )
–passwordGroup.passwordInput.isSecure = true;
passwordGroup.passwordInput.hasBackground = false;
passwordGroup.passwordInput.placeholder = “Password”;
passwordGroup.passwordInput:setTextColor(1,1,1);
passwordGroup.passwordInput.font = native.newFont( globals.fonts.robotoFontRegular, 65 );[/lua]

Does this happen on the simulator or is it happening on device?

What version of Corona SDK are you using?

Rob

It is happening on the simulator, I did not tried in the device to see if it happens. I am not sure about the version, but I just updated my corona, so the latest one.

Hello Rob. After you asked me if it was in the simulator or in the device I resolved to built and try in the device and it works fine in the device, it is a simulator bug I think. I tested in an android device, not iOs, but I am assuming that it will be fine since both android and ios in the simulator has the bug.

Thanks for your insight.

Kind Regards,

Rafael Juzwiak

Does this happen on the simulator or is it happening on device?

What version of Corona SDK are you using?

Rob

It is happening on the simulator, I did not tried in the device to see if it happens. I am not sure about the version, but I just updated my corona, so the latest one.

Hello Rob. After you asked me if it was in the simulator or in the device I resolved to built and try in the device and it works fine in the device, it is a simulator bug I think. I tested in an android device, not iOs, but I am assuming that it will be fine since both android and ios in the simulator has the bug.

Thanks for your insight.

Kind Regards,

Rafael Juzwiak