{"action":"opened","number":3765,"pull_request":{"url":"https://api.github.com/repos/yiisoft/yii/pulls/3765","id":29710281,"html_url":"https://github.com/yiisoft/yii/pull/3765","diff_url":"https://github.com/yiisoft/yii/pull/3765.diff","patch_url":"https://github.com/yiisoft/yii/pull/3765.patch","issue_url":"https://api.github.com/repos/yiisoft/yii/issues/3765","number":3765,"state":"open","locked":false,"title":"Enh #3279: CJuiAutoComplete: added `inputType` option that controls the type of the generated input field","user":{"login":"Sibilino","id":3646583,"avatar_url":"https://avatars.githubusercontent.com/u/3646583?v=3","gravatar_id":"","url":"https://api.github.com/users/Sibilino","html_url":"https://github.com/Sibilino","followers_url":"https://api.github.com/users/Sibilino/followers","following_url":"https://api.github.com/users/Sibilino/following{/other_user}","gists_url":"https://api.github.com/users/Sibilino/gists{/gist_id}","starred_url":"https://api.github.com/users/Sibilino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sibilino/subscriptions","organizations_url":"https://api.github.com/users/Sibilino/orgs","repos_url":"https://api.github.com/users/Sibilino/repos","events_url":"https://api.github.com/users/Sibilino/events{/privacy}","received_events_url":"https://api.github.com/users/Sibilino/received_events","type":"User","site_admin":false},"body":"Enh #3279\r\n\r\nOriginally, the CJuiAutoComplete widget always generated an input of type=\"text\". The only way of changing the input type was to override the run() method, which contained most of the widget's code.\r\n\r\nAfter merge, the CJuiAutoComplete widget will accept an additional option `inputType` which controls the autocomplete input's type. Its default value is `'text'` and accepts either `'text'`, `'search'`, `'email'`, `'tel'` or `'url'`.\r\n\r\nFurthermore, the HTML-generating code has been moved to a separate protected function for easier overriding.\r\n\r\n","created_at":"2015-02-20T16:40:11Z","updated_at":"2015-02-20T16:40:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yiisoft/yii/pulls/3765/commits","review_comments_url":"https://api.github.com/repos/yiisoft/yii/pulls/3765/comments","review_comment_url":"https://api.github.com/repos/yiisoft/yii/pulls/comments/{number}","comments_url":"https://api.github.com/repos/yiisoft/yii/issues/3765/comments","statuses_url":"https://api.github.com/repos/yiisoft/yii/statuses/ba0a20eedcbffe2be5acc6336426eb56fb6ada14","head":{"label":"Sibilino:3279-cjuiautocomplete-searchfields","ref":"3279-cjuiautocomplete-searchfields","sha":"ba0a20eedcbffe2be5acc6336426eb56fb6ada14","user":{"login":"Sibilino","id":3646583,"avatar_url":"https://avatars.githubusercontent.com/u/3646583?v=3","gravatar_id":"","url":"https://api.github.com/users/Sibilino","html_url":"https://github.com/Sibilino","followers_url":"https://api.github.com/users/Sibilino/followers","following_url":"https://api.github.com/users/Sibilino/following{/other_user}","gists_url":"https://api.github.com/users/Sibilino/gists{/gist_id}","starred_url":"https://api.github.com/users/Sibilino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sibilino/subscriptions","organizations_url":"https://api.github.com/users/Sibilino/orgs","repos_url":"https://api.github.com/users/Sibilino/repos","events_url":"https://api.github.com/users/Sibilino/events{/privacy}","received_events_url":"https://api.github.com/users/Sibilino/received_events","type":"User","site_admin":false},"repo":{"id":30965470,"name":"yii","full_name":"Sibilino/yii","owner":{"login":"Sibilino","id":3646583,"avatar_url":"https://avatars.githubusercontent.com/u/3646583?v=3","gravatar_id":"","url":"https://api.github.com/users/Sibilino","html_url":"https://github.com/Sibilino","followers_url":"https://api.github.com/users/Sibilino/followers","following_url":"https://api.github.com/users/Sibilino/following{/other_user}","gists_url":"https://api.github.com/users/Sibilino/gists{/gist_id}","starred_url":"https://api.github.com/users/Sibilino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sibilino/subscriptions","organizations_url":"https://api.github.com/users/Sibilino/orgs","repos_url":"https://api.github.com/users/Sibilino/repos","events_url":"https://api.github.com/users/Sibilino/events{/privacy}","received_events_url":"https://api.github.com/users/Sibilino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sibilino/yii","description":"Yii PHP Framework","fork":true,"url":"https://api.github.com/repos/Sibilino/yii","forks_url":"https://api.github.com/repos/Sibilino/yii/forks","keys_url":"https://api.github.com/repos/Sibilino/yii/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sibilino/yii/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sibilino/yii/teams","hooks_url":"https://api.github.com/repos/Sibilino/yii/hooks","issue_events_url":"https://api.github.com/repos/Sibilino/yii/issues/events{/number}","events_url":"https://api.github.com/repos/Sibilino/yii/events","assignees_url":"https://api.github.com/repos/Sibilino/yii/assignees{/user}","branches_url":"https://api.github.com/repos/Sibilino/yii/branches{/branch}","tags_url":"https://api.github.com/repos/Sibilino/yii/tags","blobs_url":"https://api.github.com/repos/Sibilino/yii/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sibilino/yii/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sibilino/yii/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sibilino/yii/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sibilino/yii/statuses/{sha}","languages_url":"https://api.github.com/repos/Sibilino/yii/languages","stargazers_url":"https://api.github.com/repos/Sibilino/yii/stargazers","contributors_url":"https://api.github.com/repos/Sibilino/yii/contributors","subscribers_url":"https://api.github.com/repos/Sibilino/yii/subscribers","subscription_url":"https://api.github.com/repos/Sibilino/yii/subscription","commits_url":"https://api.github.com/repos/Sibilino/yii/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sibilino/yii/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sibilino/yii/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sibilino/yii/issues/comments/{number}","contents_url":"https://api.github.com/repos/Sibilino/yii/contents/{+path}","compare_url":"https://api.github.com/repos/Sibilino/yii/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sibilino/yii/merges","archive_url":"https://api.github.com/repos/Sibilino/yii/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sibilino/yii/downloads","issues_url":"https://api.github.com/repos/Sibilino/yii/issues{/number}","pulls_url":"https://api.github.com/repos/Sibilino/yii/pulls{/number}","milestones_url":"https://api.github.com/repos/Sibilino/yii/milestones{/number}","notifications_url":"https://api.github.com/repos/Sibilino/yii/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sibilino/yii/labels{/name}","releases_url":"https://api.github.com/repos/Sibilino/yii/releases{/id}","created_at":"2015-02-18T12:54:02Z","updated_at":"2015-02-18T12:54:09Z","pushed_at":"2015-02-20T16:20:23Z","git_url":"git://github.com/Sibilino/yii.git","ssh_url":"git@github.com:Sibilino/yii.git","clone_url":"https://github.com/Sibilino/yii.git","svn_url":"https://github.com/Sibilino/yii","homepage":"http://www.yiiframework.com","size":28035,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yiisoft:master","ref":"master","sha":"ee39b8511c6c821f2e8863655d92151cc4931448","user":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"repo":{"id":3451238,"name":"yii","full_name":"yiisoft/yii","owner":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yiisoft/yii","description":"Yii PHP Framework","fork":false,"url":"https://api.github.com/repos/yiisoft/yii","forks_url":"https://api.github.com/repos/yiisoft/yii/forks","keys_url":"https://api.github.com/repos/yiisoft/yii/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yiisoft/yii/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yiisoft/yii/teams","hooks_url":"https://api.github.com/repos/yiisoft/yii/hooks","issue_events_url":"https://api.github.com/repos/yiisoft/yii/issues/events{/number}","events_url":"https://api.github.com/repos/yiisoft/yii/events","assignees_url":"https://api.github.com/repos/yiisoft/yii/assignees{/user}","branches_url":"https://api.github.com/repos/yiisoft/yii/branches{/branch}","tags_url":"https://api.github.com/repos/yiisoft/yii/tags","blobs_url":"https://api.github.com/repos/yiisoft/yii/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yiisoft/yii/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yiisoft/yii/git/refs{/sha}","trees_url":"https://api.github.com/repos/yiisoft/yii/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yiisoft/yii/statuses/{sha}","languages_url":"https://api.github.com/repos/yiisoft/yii/languages","stargazers_url":"https://api.github.com/repos/yiisoft/yii/stargazers","contributors_url":"https://api.github.com/repos/yiisoft/yii/contributors","subscribers_url":"https://api.github.com/repos/yiisoft/yii/subscribers","subscription_url":"https://api.github.com/repos/yiisoft/yii/subscription","commits_url":"https://api.github.com/repos/yiisoft/yii/commits{/sha}","git_commits_url":"https://api.github.com/repos/yiisoft/yii/git/commits{/sha}","comments_url":"https://api.github.com/repos/yiisoft/yii/comments{/number}","issue_comment_url":"https://api.github.com/repos/yiisoft/yii/issues/comments/{number}","contents_url":"https://api.github.com/repos/yiisoft/yii/contents/{+path}","compare_url":"https://api.github.com/repos/yiisoft/yii/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yiisoft/yii/merges","archive_url":"https://api.github.com/repos/yiisoft/yii/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yiisoft/yii/downloads","issues_url":"https://api.github.com/repos/yiisoft/yii/issues{/number}","pulls_url":"https://api.github.com/repos/yiisoft/yii/pulls{/number}","milestones_url":"https://api.github.com/repos/yiisoft/yii/milestones{/number}","notifications_url":"https://api.github.com/repos/yiisoft/yii/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yiisoft/yii/labels{/name}","releases_url":"https://api.github.com/repos/yiisoft/yii/releases{/id}","created_at":"2012-02-15T16:26:22Z","updated_at":"2015-02-20T11:49:30Z","pushed_at":"2015-02-14T02:19:42Z","git_url":"git://github.com/yiisoft/yii.git","ssh_url":"git@github.com:yiisoft/yii.git","clone_url":"https://github.com/yiisoft/yii.git","svn_url":"https://github.com/yiisoft/yii","homepage":"http://www.yiiframework.com","size":51178,"stargazers_count":4295,"watchers_count":4295,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1823,"mirror_url":null,"open_issues_count":640,"forks":1823,"open_issues":640,"watchers":4295,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yiisoft/yii/pulls/3765"},"html":{"href":"https://github.com/yiisoft/yii/pull/3765"},"issue":{"href":"https://api.github.com/repos/yiisoft/yii/issues/3765"},"comments":{"href":"https://api.github.com/repos/yiisoft/yii/issues/3765/comments"},"review_comments":{"href":"https://api.github.com/repos/yiisoft/yii/pulls/3765/comments"},"review_comment":{"href":"https://api.github.com/repos/yiisoft/yii/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/yiisoft/yii/pulls/3765/commits"},"statuses":{"href":"https://api.github.com/repos/yiisoft/yii/statuses/ba0a20eedcbffe2be5acc6336426eb56fb6ada14"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":38,"deletions":5,"changed_files":2}}