{ "id": "124927", "key": "TIMOB-16221", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-04-21T17:49:50.000+0000", "created": "2014-01-17T11:14:57.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.2.1" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T22:14:47.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Change event is not being fired when changing the textField value using Button click.\r\n\r\n\r\nNot a Regression.\r\nSince issue occurs in 3.2.0.GA, 3.1.3.GA also.\r\n\r\n\r\nSteps to reproduce:\r\n1. Deploy the test case to device.\r\n2. Tap on textField. Console logs prints logs(change event being fired)\r\n3. Tap on Button.\r\n4. The change event is not fired.(where as in android it gets fired)\r\n5. After that again tap on textfield. Console logs prints logs(change event being fired)\r\n \r\nExpected Result:\r\nThe change event of textField should also get fired when value gets changed on button click.\r\n\r\nActual Result:\r\nChange event not fired.\r\n\r\nWorking fine on Android.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : \"#FFF\"\r\n});\r\n\r\nvar textField = Ti.UI.createTextField({\r\n\tvalue : 'test123'\r\n});\r\n\r\ntextField.addEventListener('change', function(e) {\r\n\tTi.API.info(\"Change Event Fired: \" + e.value);\r\n});\r\nvar button = Ti.UI.createButton({\r\n\ttop : 150,\r\n\ttitle : \"change textfield.value\"\r\n});\r\nbutton.addEventListener(\"click\", function() {\r\n\ttextField.value = \"changed\";\r\n});\r\nwin.add(button);\r\nwin.add(textField);\r\nwin.open(); \r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: TextField: Change event is not being fired when changing the textField value using Button click", "creator": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appc Studio:3.2.1.201401151647\r\nSdk:3.2.1.v20140114125643\r\nalloy:1.3.1-beta2\t\r\ntitanium:3.2.1-beta\r\nacs:1.0.11\r\ntitanium-code-processor:1.1.0\r\nOsx: Maverick 10.9\r\nXcode:5.0.2\r\nDevice:iPhone5S(v7.0.2)\r\n", "comment": { "comments": [ { "id": "301917", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "TIMOB-16318", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-21T17:49:50.000+0000", "updated": "2014-04-21T17:49:50.000+0000" }, { "id": "415099", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate and links to the related ticket have been provided above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T22:14:47.000+0000", "updated": "2017-03-22T22:14:47.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }