Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-24878

Two-way bindings on the TextInput controls aren't working on device

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Adobe Flex SDK Previous
    • Fix Version/s: None
    • Component/s: Data Binding
    • Labels:
      None
    • Environment:
      Affected OS(s): All OS Platforms
      Language Found: English

      Description

      Steps to reproduce:
      1.Create Mobile project.
      Add the following view
      <?xml version="1.0" encoding="utf-8"?>
      <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark" title="Type in TextInput">
      <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
      </fx:Declarations>
      <fx:Script>
      <![CDATA[
      [Bindable]
      public var str:String = "abc";
      ]]
      >
      </fx:Script>
      <s:TextInput text="@

      {str}"/>
      <s:TextInput text="@{str}

      " y="200"/>
      </s:View>

      2.Run on laptop, and on device
      3. Type in the TextInput component

      Actual Results:
      Second TextInput is updated on laptop but not on device

      Expected Results:
      2 way binding works on device

      Workaround (if any):
      none

        Attachments

          Activity

            People

            • Assignee:
              adobejira Adobe JIRA
              Reporter:
              adobejira Adobe JIRA
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: