Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6663] Alloy: Ti.UI.PickerColumn throws a getter deprecation warning

GitHub Issuen/a
TypeBug
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterMichael Gangolf
AssigneeAbir Mukherjee
Created2021-01-20T07:09:52.000+0000
Updated2021-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

FileDateSize
newPickerApp.zip2021-01-20T08:04:02.000+00003478781

Comments

No comments

JSON Source