From what I understand from the documentation, you can create a native text field with a x,y,width,height, and listener, but what about with pre-entered text? If not, can we expect to have this added in the near future?
As it currently stands, I create the text field when a touch even occurs on a Corona Display Object. This creates a new Text field in the desired location, and once the user is finished with their input, it removes the text field and creates a new Corona text object in its place. I’d rather not have to keep the text fields present constantly, due to their many issues compared to a Corona object.
Examples of use-
- If a user leaves focus on a text field and goes back to it, the text field can be recreated with previous data
- A text field with a default text setting
- User goes back to a previous screen with data inputted. Text fields are recreated with previous info.