{ "id": "98239", "key": "TIMOB-10221", "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": "13870", "description": "", "name": "Sprint 2012-16 API", "archived": true, "released": true, "releaseDate": "2012-08-13" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-13T17:05:43.000+0000", "created": "2012-07-27T15:22:27.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "parity", "qe-port" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "19878", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "98969", "key": "TIMOB-10375", "fields": { "summary": "MobileWeb: Shim maxLength in IE9", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "19710", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "88543", "key": "TIMOB-8212", "fields": { "summary": "MobileWeb: Cleanup textbox/field/area architecture", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-10-16T22:00:11.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "1. Run this code\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\n \r\nvar txt = Ti.UI.createTextArea({\r\n top: 150,\r\n height: 100,\r\n backgroundColor: \"white\" \r\n});\r\n \r\nvar button = Ti.UI.createButton( {\r\n title: \"set max length to 10\"\r\n});\r\n \r\nbutton.addEventListener('click', function(e) {\r\n txt.maxLength = 10;\r\n});\r\nTi.API.info(\"maxLength: \" + txt.maxLength);\r\nwin.add(txt);\r\nwin.add(button);\r\nwin.open();\r\n{code}\r\n\r\n2. Check log, make sure maxLength is -1\r\n3. Click on button\r\n4. Start typing, the content should not exceed 10 characters.\r\n5. Re-run code, this time enter 20+ characters before click on button", "attachment": [], "flagged": false, "summary": "MobileWeb: Implement maxLength for TextArea", "creator": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "213231", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull Request: https://github.com/appcelerator/titanium_mobile/pull/2692", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-07T14:57:51.000+0000", "updated": "2012-08-07T14:57:51.000+0000" }, { "id": "214206", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "'Max length' does not work on chrome 18.0 & firefox in android 14.0.1.It works on the default android browser.\r\nTapping on the button for max length does nothing,we can still type text more than the count of 10.\r\nIt works fine on desktop browsers & iphone.\r\n\r\nTested on:\r\nTitanium studio : 2.1.1.201207271312\r\nSDK version : 2.2.0.v20120810194112\r\nAndroid 4.0.4 - default ,chrome 18.0 , firefox 14.0.1\r\nIphone 4.3.5 - safari mobile\r\nMountain lion(10.8) - chrome 21.0,safari 6,firefox 14.0.1", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-08-13T16:03:33.000+0000", "updated": "2012-08-13T16:03:33.000+0000" }, { "id": "214231", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Those browser's must not support the \"maxlength\" css property then. We have a different ticket setup for shimming it in browser's that don't natively support it.", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-13T17:05:43.000+0000", "updated": "2012-08-13T17:05:43.000+0000" }, { "id": "223886", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified feature works as expected. \r\nTested on:\r\nTitanium Studio, build: 3.0.0.201210151149\r\nTitanium SDK, build: 3.0.0.v20121015174610\r\nAndroid 4.1.1 - Chrome 18.0, FireFox 15.0.1\r\niPhone 4S (4.3.5) - Safari mobile\r\nLion 10.7.4 - Google Chrome 22.0, Safari 5.1.6", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-16T22:00:11.000+0000", "updated": "2012-10-16T22:00:11.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }