{ "id": "153248", "key": "TIMOB-20008", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-03-30T06:14:21.000+0000", "created": "2015-11-17T19:04:19.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-5.4.0" ], "versions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "issuelinks": [], "assignee": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-06-21T17:29:46.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": "The new {{*placeholder}} properties for the [AlertDialog|https://appcelerator.github.io/appc-docs/latest/#!/api/Titanium.UI.AlertDialog-property-placeholder] should be renamed to {{*HintText}} as that is the name we use on all other API's like [TextArea|https://appcelerator.github.io/appc-docs/latest/#!/api/Titanium.UI.TextArea-property-hintText].", "attachment": [], "flagged": false, "summary": "iOS: Rename AlertDialog placeholder properties to hintText", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": null, "closedSprints": [ { "id": 614, "state": "closed", "name": "2016 Sprint 07 SDK", "startDate": "2016-03-26T00:38:56.432Z", "endDate": "2016-04-09T00:38:00.000Z", "completeDate": "2016-04-11T04:41:08.231Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "376921", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~hansknoechel] I rolled back your change. Please note that AlerDialog has several *placeholder properties which should not share the same hintText.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-02-15T14:06:03.000+0000", "updated": "2016-02-15T14:06:03.000+0000" }, { "id": "380859", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fokkezb] Hi Fokke i check all of our APIs none of them have a property called placeholderHintText ? Did you mean just hintText ? As the textArea widget doesn't have a placeholder property according to the docs. ", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-28T22:03:12.000+0000", "updated": "2016-03-28T22:03:12.000+0000" }, { "id": "380889", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Sorry, corrected the description.\r\n\r\nThe AlertDialog has {{placeholder}}, {{loginPlaceholder}} and {{passwordPlaceholder}} but in other APIs we use {{hintText}}. So these properties should be renamed to {{hintText}}, {{loginHintText}} and {{passwordHintText}}.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-03-29T06:51:19.000+0000", "updated": "2016-03-29T06:51:19.000+0000" }, { "id": "380964", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR : https://github.com/appcelerator/titanium_mobile/pull/7893\r\n\r\nDemo Code :\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({ \r\n title: 'Click window to test',\r\n backgroundColor: 'white',\r\n exitOnClose: true,\r\n fullscreen: false\r\n});\r\n\r\nvar placeholder = Titanium.UI.createButton({\r\n title: 'Plain placeholder',\r\n top: 10,\r\n left: 10,\r\n width: Ti.UI.SIZE,\r\n height: Ti.UI.SIZE\r\n});\r\n\r\nplaceholder.addEventListener('click',function(e) {\r\n var dialog = Ti.UI.createAlertDialog({\r\n \tmessage: 'Would you like to delete the file?',\r\n \ttitle: 'Delete',\r\n \tstyle: Titanium.UI.iOS.AlertDialogStyle.PLAIN_TEXT_INPUT,\r\n \tplaceholder:\"The one\"\r\n \t});\r\n \tdialog.show();\r\n});\r\n\r\nvar loginPlaceholder = Titanium.UI.createButton({\r\n title: 'Full login placeholder',\r\n top: 10,\r\n left: 150,\r\n width: Ti.UI.SIZE,\r\n height: Ti.UI.SIZE\r\n});\r\n\r\nloginPlaceholder.addEventListener('click',function(e) {\r\n var dialog = Ti.UI.createAlertDialog({\r\n \tbuttonNames: ['Confirm', 'Cancel', 'Help'],\r\n \tmessage: 'Would you like to delete the file?',\r\n \ttitle: 'Delete',\r\n \tstyle: Titanium.UI.iOS.AlertDialogStyle.LOGIN_AND_PASSWORD_INPUT,\r\n \tloginPlaceholder:\"The One\",\r\n \tpasswordPlaceholder:\"The Second\"\r\n \t});\r\n \tdialog.show();\r\n});\r\n\r\nwin.add(placeholder);\r\nwin.add(loginPlaceholder);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-29T17:32:01.000+0000", "updated": "2016-03-29T17:46:26.000+0000" }, { "id": "388753", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, {{hintText}} , {{loginHintText}} , & {{passwordHintText}} are now supported properties with AlertDialog. Using {{placeholder}} , {{loginPlaceholder}} & {{passwordPlaceholder}} now return Deprecated messages to the console. \r\n\r\nTested On:\r\niPhone 6S (9.3.2) Device \r\nMac OSX El Capitan 10.11.5 \r\nTi SDK: 5.4.0.v20160617074028\r\nAppc Studio: 4.7.0.201606150733\r\nAppc NPM: 4.2.7-2\r\nApp CLI: 5.4.0-18\r\nXcode 7.3\r\nNode v4.2.6\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-21T17:29:27.000+0000", "updated": "2016-06-21T17:29:27.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }