Details

    • Type: New Feature
    • Status: Closed
    • Priority: Low
    • Resolution: Not Our Bug
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      It is working only on Android

      Description

      Problem
      Please can you add support of "Hint text" property in TextArea component also for iOS? Now it is working only on Android and I don't understand why.

      In my app I have a nice form with normal TextField's (with hint text) and on the end of the form I've got a TextArea, which is without hint text, so it looks inconsistent.

      There is a workaround by manually checking the values, but this is inconvenient.

      Workaround

      var textArea = Titanium.UI.createTextArea({
      	value : 'Enter Text',
      });
      textArea._hintText = textArea.value;
       
      textArea.addEventListener('focus', function(e) {
      	if (e.source.value == e.source._hintText) {
      		e.source.value = "";
      	}
      });
      textArea.addEventListener('blur', function(e) {
      	if (e.source.value == "") {
      		e.source.value = e.source._hintText;
      	}
      });
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cng Chee Kiat Ng (Inactive)
                Reporter:
                sko Matej
              • Watchers:
                6 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