Can't type in text field

Need help here. I dont know why I can’t type in my text field and I just get my code on youtube tutorial.

Here’s the code:

main.lua

_W = display.viewableContentWidth

_H = display.viewableContentHeight

local background = display.newRect(0,0,_W,_H)

background:setFillColor(0,0,0)

local lblAnswer = display.newText(“Answer Here:”, 90,95, native.systemFont,28)

local textField = native.newTextField (90,140,150,50)

textField.align = “center”

textField.setTextColor (1,0.5,0)

textField.size = 32

textField.isEditable = true

textField.text = “Hello World”

And it shows just like this. In the image.

Thanks guys

Hi @hey.dumboo,

Native text fields do not support the .isEditable property. Please take that out and see what happens.

Best regards,

Brent

Hi @hey.dumboo,

Native text fields do not support the .isEditable property. Please take that out and see what happens.

Best regards,

Brent