[TIMOB-17825] Android: Picker: minDate and maxDate are not respected when setting the value in constructor
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-07-11T20:45:40.000+0000 |
Affected Version/s | Release 3.3.0, Release 3.4.0, Release 3.4.1, Release 4.0.0 |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Ewan Harris |
Assignee | Eric Merriman |
Created | 2014-10-07T01:44:48.000+0000 |
Updated | 2017-07-11T20:45:40.000+0000 |
Description
Description
When a value of a picker is set in .createPicker() minDate and maxDate are not respected and it is possible for the value to be passed these two values *Notes* On iOS the minDate and maxDate values are respected and if the value is set above or below these then it is defaulted to the either the maxDate or minDate. If the value is set using setValue() then it defaults to the highest or lowest it can go. This also occurs in 3.4.0.GA and 3.3.0.GA.Steps To Reproduce
1. Using the attached app.js build to an Android device or emulator 2. Observe the dates that are set 3. Tap the button and the dates will be set via setValue()Actual Result
2. The dates will be past the min and max values 3. The dates are changed to the min and maxExpected Result
2. The dates should be the same as the min and max 3. The dates are changed to the min and maxAttachments
File | Date | Size |
---|---|---|
app.js | 2014-10-07T16:06:53.000+0000 | 1204 |
Verifying that has been fixed as I am unable to reproduce this issue with the following environment; Pixel (7.1) Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131