Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-7224

MobileWeb: Create a Ti._.UI.TextBox base class for TextArea and TextField

    Details

      Description

      We need a base class that extends Widget that exposes common methods and properties for TextArea and TextField.

      Methods:

      • blur()
      • focus()
      • hasText()

      Properties:

      • autocapitalization
      • autocorrect
      • editable
      • enabled
      • returnKeyType - may not be possible, try wrapping the textarea in a form with a hidden submit button
      • suppressReturn [stage]
      • textAlign - Ti.UI.TEXT_ALIGNMENT_[LEFT|RIGHT|CENTER] [stage]
      • value

      Events:

      • blur
      • change
      • focus
      • return

        Attachments

        1. app.js
          3 kB
        2. app.js
          2 kB
        3. app.js
          2 kB

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                cbarber Chris Barber
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-11758
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration