Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7448] Picker: getValue()/setValue parity, plus naming needs to be reconsidered

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-08-16T01:28:18.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sn/a
ComponentsAndroid
Labelsparity
ReporterTim Poulsen
AssigneeIngo Muschenetz
Created2012-01-27T10:50:46.000+0000
Updated2017-08-16T17:41:38.000+0000

Description

Expected:

setValue() would let you set the selected value of a picker, and getValue() would return the current value. These would work with any picker type.

Actual:

setValue/getValue don't exist on Android. And they accept/return only Date types. Thus they will work with only date pickers.

More

There are a couple of components to this: * Parity: these should exist on both iOS & Android * The names should match the purpose. Maybe the method should be named setDateValue() instead of setValue() ?? Or maybe we need separate methods? * APIdocs will need to be updated to match the final implementation Perhaps this is multiple bugs? Perhaps a Parity rather than a Bug ticket? Advise and I'll edit the ticket as appropriate. See Q&A thread http://developer.appcelerator.com/question/131273/picker-type-date-on-android-has-no-method-setvalue

Comments

  1. Lee Morris 2017-08-16

    Closing due to inactivity. If this issue still exists, please raise a new ticket.
  2. Tim Poulsen (ACV) 2017-08-16

    I love how you guys ignore a ticket for years, then close it for "inactivity." Great way to have a clean backlog I guess.
  3. Lee Morris 2017-08-16

    Hi [~acvauctions] there has been no progress on this ticket for 5 and a half years, I thought that the best way for this issue to be noticed, if it is still an issue, would be to raise a new ticket for it. If no one has even looked at it since January 2012 then its hardly likely anyone is going to look at it in August 2017. I am only doing my job here but if you would like the ticket reopened then let me know and I'd be happy to do so.

JSON Source