Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1058] Picker is not displayed if 'type' property is set in .TSS

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-06-23T17:34:18.000+0000
Affected Version/sAlloy 1.4.0
Fix Version/sAlloy 1.4.0
ComponentsXML
Labelsqe-3.3.0, qe-testadded
ReporterFederico Casali
AssigneeFeon Sua Xin Miao
Created2014-06-20T21:49:45.000+0000
Updated2014-06-27T17:24:45.000+0000

Description

Problem description

A Picker is not visible if the picker type property is set in the styles .tss If set in .XML works fine. Using Alloy 1.3.1 another issue is present, preventing actually the App to run (see ALOY-1003)

Steps to reproduce

1. Use the sample code attached. 2. Run the App Result: Picker is not visible 3. Put the type property in index.xml
  <Picker id="picker"
          minDate="2014,4,1"
          type="Ti.UI.PICKER_TYPE_DATE"
          maxDate="May 1, 2014 12:00:00"
          value="2014-04-15T12:00:00">
        </Picker>
and build/run Result: Picker is now correctly displayed

Attachments

FileDateSize
pickerType.zip2014-06-20T21:49:45.000+00005914233

Comments

  1. Feon Sua Xin Miao 2014-06-23

    PR: https://github.com/appcelerator/alloy/pull/460 Test app: https://github.com/feons/alloy/tree/ALOY-1058/test/apps/testing/ALOY-1058 Functional Test: 1. Run the test app, the picker type property is set in .tss 2. The picker is visible
  2. Tim Poulsen 2014-06-23

    PR merged and cherry-picked to 1_4_X branch
  3. Federico Casali 2014-06-27

    Verified as fixed. TiSDk 3.3.0.v20140627094114 Appcelerator Studio 3.3.0.201406171619 CLI 3.3.0-rc3 Alloy 1.4.0-rc2 Closing.

JSON Source