Forms -- Native text entry fields based on scrollView widget

397
Vote up!

As you already know, native text fields in Corona don't scroll with the OpenGL canvas......I've built this "form" module to support creating fields and managing their placement on the screen (relative to keyboard). It does not have all the fancy UI (to make the fields look fully "native"), but it's modular enough such that the form.newNativeFieldUIWrapper() can be enhanced to create numerous different wrapper types (search, text, numeric, etc). Equally important, this module includes a pattern for supplying default parameters that (keeps it out of the code) and makes it much easier for team contributions....just don't check in the "nativeText_defaults.lua" file when you make a pull request/improvement. All feedback and fixes welcome!

Works with Corona build #: 
2161
Category: 
Contributor: 
deweyg