Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-927

TextField: Support keyboard and return key type shortcuts strings in XML and TSS definitions

    Details

      Description

      As a developer, I'd like to be able to enter shortcut strings when declaring TextFields in XML or styling them in TSS. For example:

      <TextField id="txt" keyboardType="DECIMAL_PAD" returnKeyType="DONE"/>
      

      "#txt": { 
        keyboardType: "DECIMAL_PAD",
        returnKeyType: "DONE"
      }
      

      This is done for SystemButtonType constants (see code in parsers/Ti.UI.Button.js)

      All keyboardType constants begin with Ti.UI.KEYBOARD_

      All returnKeyType constants begin with Ti.UI.RETURNKEY_

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skypanther Tim Poulsen
                Reporter:
                skypanther Tim Poulsen
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration