{ "id": "80420", "key": "TIMOB-5309", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "12077", "description": "", "name": "Sprint 2011-37", "archived": true, "released": true, "releaseDate": "2011-09-19" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-09-20T10:15:47.000+0000", "created": "2011-09-20T03:22:18.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "branch-5062", "module_textfield", "qe-testadded" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [ { "id": "15163", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "86423", "key": "TIMOB-7637", "fields": { "summary": "Android: TextField - Ability to enter unlimited numbers of characters without clicking Unlimited length or Increase maxLength", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:46:43.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": "h1. Feature\r\nAdd a new \"maxLength\" property to text fields.\r\n\r\nh2. Example Usage\r\nAsk me if one is needed, and I will gladly provide it.", "attachment": [], "flagged": false, "summary": "iOS: TextField maxLength Property", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "166410", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Example code:\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nvar tf = Ti.UI.createTextField({\r\n\tvalue:'SAMPLE',\r\n\tmaxLength:20,\r\n\ttop:20,\r\n\tleft:20,\r\n\twidth:300,\r\n\theight:60,\r\n\tborderStyle:Ti.UI.INPUT_BORDERSTYLE_ROUNDED\r\n});\r\nwin.add(tf);\r\n\r\nvar b = Ti.UI.createButton({\r\n\ttitle:'Increase maxLength',\r\n\twidth:200,\r\n\theight:40,\r\n\tbottom:60\r\n});\r\nb.addEventListener('click', function(e) {\r\n\ttf.maxLength += 5;\r\n\tTi.API.info('maxLength: '+tf.maxLength);\r\n});\r\nwin.add(b);\r\n\r\nvar b2 = Ti.UI.createButton({\r\n\ttitle:'Unlimited length',\r\n\twidth:200,\r\n\theight:40,\r\n\tbottom:120\r\n});\r\nb2.addEventListener('click', function(e) {\r\n\ttf.maxLength = -1;\r\n});\r\nwin.add(b2);\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-20T05:16:12.000+0000", "updated": "2011-09-20T05:16:12.000+0000" }, { "id": "182512", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.9.0.v20120207171634 on iPad 2(5.0.1)", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-08T17:21:52.000+0000", "updated": "2012-02-08T17:21:52.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }