[AC-6663] Alloy: Ti.UI.PickerColumn throws a getter deprecation warning
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Michael Gangolf |
Assignee | Abir Mukherjee |
Created | 2021-01-20T07:09:52.000+0000 |
Updated | 2021-01-20T08:04:49.000+0000 |
Description
The data-binding functions of Alloys Ti.UI.PickerColumn function still use
getRows()
to get data at:
https://github.com/appcelerator/alloy/blob/fe754c8288b7ed7605bdb8a482d174b10426e871/Alloy/commands/compile/parsers/Ti.UI.PickerColumn.js#L75
That does throw a
{noformat}
Getter method deprecated, please use "obj.rows;" or "obj['rows'];" instead.
{noformat}
warning.
Alloy 1.15.2
Ti SDK: 9.3.0.GA
Added a demo project that will add a widget when you click the Label. Then the warning is visible in the logs
Attachments
File | Date | Size |
---|---|---|
newPickerApp.zip | 2021-01-20T08:04:02.000+0000 | 3478781 |
No comments