{"issue":{"created_at":"2011-11-29T06:59:47Z","state":"open","updated_at":"2011-11-29T06:59:51Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"comments":3,"body":"This will allow textfields to be visible, text-selectable, but not editable. The 'disabled' => true attribute, which is currently supported in the Widget class, doesn't allow the field contents to be selected. You can either implement this in Widget or simply in TextField.php in its setter method (as its related only to INPUT text/passwords.\n\nIts better to just add a line into the widget as a multiple condition for disabled:\n\n```\ncase 'readonly':\ncase 'disabled':\n\t$this->arrAttributes[$strKey] = $varValue;\n\t$this->blnSubmitInput = false;\n\tbreak;\n\n```\n\n--- _Originally created by thyon on July 22nd, 2009, at 09:21am (ID 901)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"id":2379388,"number":901,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/test/labels/Feature"},{"name":"framework","color":"e6e6e6","url":"https://api.github.com/repos/contao/test/labels/framework"}],"title":"Add 'readonly' => true as a Widget attribute","closed_at":null,"html_url":"https://github.com/contao/test/issues/901","url":"https://api.github.com/repos/contao/test/issues/901","milestone":{"created_at":"2011-11-29T05:26:45Z","state":"open","due_on":null,"closed_issues":17,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"number":13,"description":"TYPOlight 2.7.3 (maintenance release)","title":"2.7.3","open_issues":1,"url":"https://api.github.com/repos/contao/test/milestones/13"}},"action":"created","comment":{"created_at":"2011-11-29T06:59:51Z","updated_at":"2011-11-29T06:59:51Z","user":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"body":"--- _Originally completed on September 5th, 2009, at 05:11pm_","id":2918268,"url":"https://api.github.com/repos/contao/test/issues/comments/2918268"}}