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

Error adding text before model attribute in using dataCollection

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Release 4.1.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Titanium Studio 3.4.0

      Description

      Steps to Reproduce

      To get a model attribute assigned directly to a Label.text we can use something like this <Label text='

      {title}

      by

      {author}' /> this works ok but if the text attribute starts with simple text for example
      <Label text='by {author}

      ' />
      we get an error.

      You can use one of the examples presents in http://docs.appcelerator.com/titanium/3.0/#!/guide/Alloy_Data_Binding

      Actual Result

      This return an error and we can't compile

      Expected Result

      I expected that I can start the text attribute with some text and put the

      {attribute}

      wherever I want

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kandalf Fabio
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Source Code