Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27988] TiAPI: "change" event should not be fired when changed programmatically

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid, iOS
LabelsSearchBar, android, breaking-change, change, event, iOS, picker, slider, switch
ReporterJoshua Quick
AssigneeJoshua Quick
Created2020-06-25T22:51:39.000+0000
Updated2021-02-22T18:55:03.000+0000

Description

*Summary:* The below UI widgets will fire a "change" event when you change their "value" property programmatically. We should change this behavior to only fire this event when the value has been changed the end-user via UI interaction. * Ti.UI.Slider * Ti.UI.Switch * Ti.UI.Picker * Ti.UI.SearchBar This is a breaking-change, *Reason:* To make it work more like web widgets. *Note:* The following Titanium widgets already work this way: * Ti.UI.TextArea * Ti.UI.TextField

Comments

No comments

JSON Source