{"action":"closed","number":68,"pull_request":{"url":"https://api.github.com/repos/unclead/yii2-multiple-input/pulls/68","id":64763986,"html_url":"https://github.com/unclead/yii2-multiple-input/pull/68","diff_url":"https://github.com/unclead/yii2-multiple-input/pull/68.diff","patch_url":"https://github.com/unclead/yii2-multiple-input/pull/68.patch","issue_url":"https://api.github.com/repos/unclead/yii2-multiple-input/issues/68","number":68,"state":"closed","locked":false,"title":"add check for closure in options","user":{"login":"veksa","id":6467881,"avatar_url":"https://avatars.githubusercontent.com/u/6467881?v=3","gravatar_id":"","url":"https://api.github.com/users/veksa","html_url":"https://github.com/veksa","followers_url":"https://api.github.com/users/veksa/followers","following_url":"https://api.github.com/users/veksa/following{/other_user}","gists_url":"https://api.github.com/users/veksa/gists{/gist_id}","starred_url":"https://api.github.com/users/veksa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veksa/subscriptions","organizations_url":"https://api.github.com/users/veksa/orgs","repos_url":"https://api.github.com/users/veksa/repos","events_url":"https://api.github.com/users/veksa/events{/privacy}","received_events_url":"https://api.github.com/users/veksa/received_events","type":"User","site_admin":false},"body":"check for Closure need for example disabled same elements, when model contains same option:\r\n```\r\n[\r\n    'name' => 'zip',\r\n    'title' => 'Индекс',\r\n    'type' => BaseColumn::TYPE_TEXT_INPUT,\r\n    'options' => function ($item) {\r\n        return $item && $item->city ? ['readonly' => 'readonly'] : [];\r\n    }\r\n]\r\n```","created_at":"2016-03-31T10:02:02Z","updated_at":"2016-04-01T12:00:29Z","closed_at":"2016-04-01T12:00:29Z","merged_at":"2016-04-01T12:00:29Z","merge_commit_sha":"b25699ad54f62f781ef0a4e9beecf0ed0482a25d","assignee":{"login":"unclead","id":2351719,"avatar_url":"https://avatars.githubusercontent.com/u/2351719?v=3","gravatar_id":"","url":"https://api.github.com/users/unclead","html_url":"https://github.com/unclead","followers_url":"https://api.github.com/users/unclead/followers","following_url":"https://api.github.com/users/unclead/following{/other_user}","gists_url":"https://api.github.com/users/unclead/gists{/gist_id}","starred_url":"https://api.github.com/users/unclead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unclead/subscriptions","organizations_url":"https://api.github.com/users/unclead/orgs","repos_url":"https://api.github.com/users/unclead/repos","events_url":"https://api.github.com/users/unclead/events{/privacy}","received_events_url":"https://api.github.com/users/unclead/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/unclead/yii2-multiple-input/pulls/68/commits","review_comments_url":"https://api.github.com/repos/unclead/yii2-multiple-input/pulls/68/comments","review_comment_url":"https://api.github.com/repos/unclead/yii2-multiple-input/pulls/comments{/number}","comments_url":"https://api.github.com/repos/unclead/yii2-multiple-input/issues/68/comments","statuses_url":"https://api.github.com/repos/unclead/yii2-multiple-input/statuses/0642fca4635b7534d674c140633046f8b82881ec","head":{"label":"veksa:master","ref":"master","sha":"0642fca4635b7534d674c140633046f8b82881ec","user":{"login":"veksa","id":6467881,"avatar_url":"https://avatars.githubusercontent.com/u/6467881?v=3","gravatar_id":"","url":"https://api.github.com/users/veksa","html_url":"https://github.com/veksa","followers_url":"https://api.github.com/users/veksa/followers","following_url":"https://api.github.com/users/veksa/following{/other_user}","gists_url":"https://api.github.com/users/veksa/gists{/gist_id}","starred_url":"https://api.github.com/users/veksa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veksa/subscriptions","organizations_url":"https://api.github.com/users/veksa/orgs","repos_url":"https://api.github.com/users/veksa/repos","events_url":"https://api.github.com/users/veksa/events{/privacy}","received_events_url":"https://api.github.com/users/veksa/received_events","type":"User","site_admin":false},"repo":{"id":55139764,"name":"yii2-multiple-input","full_name":"veksa/yii2-multiple-input","owner":{"login":"veksa","id":6467881,"avatar_url":"https://avatars.githubusercontent.com/u/6467881?v=3","gravatar_id":"","url":"https://api.github.com/users/veksa","html_url":"https://github.com/veksa","followers_url":"https://api.github.com/users/veksa/followers","following_url":"https://api.github.com/users/veksa/following{/other_user}","gists_url":"https://api.github.com/users/veksa/gists{/gist_id}","starred_url":"https://api.github.com/users/veksa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veksa/subscriptions","organizations_url":"https://api.github.com/users/veksa/orgs","repos_url":"https://api.github.com/users/veksa/repos","events_url":"https://api.github.com/users/veksa/events{/privacy}","received_events_url":"https://api.github.com/users/veksa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/veksa/yii2-multiple-input","description":"Yii2 widget for handle multiple inputs for an attribute of model","fork":true,"url":"https://api.github.com/repos/veksa/yii2-multiple-input","forks_url":"https://api.github.com/repos/veksa/yii2-multiple-input/forks","keys_url":"https://api.github.com/repos/veksa/yii2-multiple-input/keys{/key_id}","collaborators_url":"https://api.github.com/repos/veksa/yii2-multiple-input/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/veksa/yii2-multiple-input/teams","hooks_url":"https://api.github.com/repos/veksa/yii2-multiple-input/hooks","issue_events_url":"https://api.github.com/repos/veksa/yii2-multiple-input/issues/events{/number}","events_url":"https://api.github.com/repos/veksa/yii2-multiple-input/events","assignees_url":"https://api.github.com/repos/veksa/yii2-multiple-input/assignees{/user}","branches_url":"https://api.github.com/repos/veksa/yii2-multiple-input/branches{/branch}","tags_url":"https://api.github.com/repos/veksa/yii2-multiple-input/tags","blobs_url":"https://api.github.com/repos/veksa/yii2-multiple-input/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/veksa/yii2-multiple-input/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/veksa/yii2-multiple-input/git/refs{/sha}","trees_url":"https://api.github.com/repos/veksa/yii2-multiple-input/git/trees{/sha}","statuses_url":"https://api.github.com/repos/veksa/yii2-multiple-input/statuses/{sha}","languages_url":"https://api.github.com/repos/veksa/yii2-multiple-input/languages","stargazers_url":"https://api.github.com/repos/veksa/yii2-multiple-input/stargazers","contributors_url":"https://api.github.com/repos/veksa/yii2-multiple-input/contributors","subscribers_url":"https://api.github.com/repos/veksa/yii2-multiple-input/subscribers","subscription_url":"https://api.github.com/repos/veksa/yii2-multiple-input/subscription","commits_url":"https://api.github.com/repos/veksa/yii2-multiple-input/commits{/sha}","git_commits_url":"https://api.github.com/repos/veksa/yii2-multiple-input/git/commits{/sha}","comments_url":"https://api.github.com/repos/veksa/yii2-multiple-input/comments{/number}","issue_comment_url":"https://api.github.com/repos/veksa/yii2-multiple-input/issues/comments{/number}","contents_url":"https://api.github.com/repos/veksa/yii2-multiple-input/contents/{+path}","compare_url":"https://api.github.com/repos/veksa/yii2-multiple-input/compare/{base}...{head}","merges_url":"https://api.github.com/repos/veksa/yii2-multiple-input/merges","archive_url":"https://api.github.com/repos/veksa/yii2-multiple-input/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/veksa/yii2-multiple-input/downloads","issues_url":"https://api.github.com/repos/veksa/yii2-multiple-input/issues{/number}","pulls_url":"https://api.github.com/repos/veksa/yii2-multiple-input/pulls{/number}","milestones_url":"https://api.github.com/repos/veksa/yii2-multiple-input/milestones{/number}","notifications_url":"https://api.github.com/repos/veksa/yii2-multiple-input/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/veksa/yii2-multiple-input/labels{/name}","releases_url":"https://api.github.com/repos/veksa/yii2-multiple-input/releases{/id}","deployments_url":"https://api.github.com/repos/veksa/yii2-multiple-input/deployments","created_at":"2016-03-31T09:57:32Z","updated_at":"2016-03-31T09:57:34Z","pushed_at":"2016-04-01T10:11:35Z","git_url":"git://github.com/veksa/yii2-multiple-input.git","ssh_url":"git@github.com:veksa/yii2-multiple-input.git","clone_url":"https://github.com/veksa/yii2-multiple-input.git","svn_url":"https://github.com/veksa/yii2-multiple-input","homepage":"","size":748,"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":"unclead:master","ref":"master","sha":"7c21aece0b0ddc6db46955e52484540d7f8a92fb","user":{"login":"unclead","id":2351719,"avatar_url":"https://avatars.githubusercontent.com/u/2351719?v=3","gravatar_id":"","url":"https://api.github.com/users/unclead","html_url":"https://github.com/unclead","followers_url":"https://api.github.com/users/unclead/followers","following_url":"https://api.github.com/users/unclead/following{/other_user}","gists_url":"https://api.github.com/users/unclead/gists{/gist_id}","starred_url":"https://api.github.com/users/unclead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unclead/subscriptions","organizations_url":"https://api.github.com/users/unclead/orgs","repos_url":"https://api.github.com/users/unclead/repos","events_url":"https://api.github.com/users/unclead/events{/privacy}","received_events_url":"https://api.github.com/users/unclead/received_events","type":"User","site_admin":false},"repo":{"id":33817972,"name":"yii2-multiple-input","full_name":"unclead/yii2-multiple-input","owner":{"login":"unclead","id":2351719,"avatar_url":"https://avatars.githubusercontent.com/u/2351719?v=3","gravatar_id":"","url":"https://api.github.com/users/unclead","html_url":"https://github.com/unclead","followers_url":"https://api.github.com/users/unclead/followers","following_url":"https://api.github.com/users/unclead/following{/other_user}","gists_url":"https://api.github.com/users/unclead/gists{/gist_id}","starred_url":"https://api.github.com/users/unclead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unclead/subscriptions","organizations_url":"https://api.github.com/users/unclead/orgs","repos_url":"https://api.github.com/users/unclead/repos","events_url":"https://api.github.com/users/unclead/events{/privacy}","received_events_url":"https://api.github.com/users/unclead/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/unclead/yii2-multiple-input","description":"Yii2 widget for handle multiple inputs for an attribute of model","fork":false,"url":"https://api.github.com/repos/unclead/yii2-multiple-input","forks_url":"https://api.github.com/repos/unclead/yii2-multiple-input/forks","keys_url":"https://api.github.com/repos/unclead/yii2-multiple-input/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unclead/yii2-multiple-input/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unclead/yii2-multiple-input/teams","hooks_url":"https://api.github.com/repos/unclead/yii2-multiple-input/hooks","issue_events_url":"https://api.github.com/repos/unclead/yii2-multiple-input/issues/events{/number}","events_url":"https://api.github.com/repos/unclead/yii2-multiple-input/events","assignees_url":"https://api.github.com/repos/unclead/yii2-multiple-input/assignees{/user}","branches_url":"https://api.github.com/repos/unclead/yii2-multiple-input/branches{/branch}","tags_url":"https://api.github.com/repos/unclead/yii2-multiple-input/tags","blobs_url":"https://api.github.com/repos/unclead/yii2-multiple-input/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unclead/yii2-multiple-input/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unclead/yii2-multiple-input/git/refs{/sha}","trees_url":"https://api.github.com/repos/unclead/yii2-multiple-input/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unclead/yii2-multiple-input/statuses/{sha}","languages_url":"https://api.github.com/repos/unclead/yii2-multiple-input/languages","stargazers_url":"https://api.github.com/repos/unclead/yii2-multiple-input/stargazers","contributors_url":"https://api.github.com/repos/unclead/yii2-multiple-input/contributors","subscribers_url":"https://api.github.com/repos/unclead/yii2-multiple-input/subscribers","subscription_url":"https://api.github.com/repos/unclead/yii2-multiple-input/subscription","commits_url":"https://api.github.com/repos/unclead/yii2-multiple-input/commits{/sha}","git_commits_url":"https://api.github.com/repos/unclead/yii2-multiple-input/git/commits{/sha}","comments_url":"https://api.github.com/repos/unclead/yii2-multiple-input/comments{/number}","issue_comment_url":"https://api.github.com/repos/unclead/yii2-multiple-input/issues/comments{/number}","contents_url":"https://api.github.com/repos/unclead/yii2-multiple-input/contents/{+path}","compare_url":"https://api.github.com/repos/unclead/yii2-multiple-input/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unclead/yii2-multiple-input/merges","archive_url":"https://api.github.com/repos/unclead/yii2-multiple-input/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unclead/yii2-multiple-input/downloads","issues_url":"https://api.github.com/repos/unclead/yii2-multiple-input/issues{/number}","pulls_url":"https://api.github.com/repos/unclead/yii2-multiple-input/pulls{/number}","milestones_url":"https://api.github.com/repos/unclead/yii2-multiple-input/milestones{/number}","notifications_url":"https://api.github.com/repos/unclead/yii2-multiple-input/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unclead/yii2-multiple-input/labels{/name}","releases_url":"https://api.github.com/repos/unclead/yii2-multiple-input/releases{/id}","deployments_url":"https://api.github.com/repos/unclead/yii2-multiple-input/deployments","created_at":"2015-04-12T13:30:56Z","updated_at":"2016-03-31T08:10:35Z","pushed_at":"2016-04-01T12:00:29Z","git_url":"git://github.com/unclead/yii2-multiple-input.git","ssh_url":"git@github.com:unclead/yii2-multiple-input.git","clone_url":"https://github.com/unclead/yii2-multiple-input.git","svn_url":"https://github.com/unclead/yii2-multiple-input","homepage":"","size":753,"stargazers_count":65,"watchers_count":65,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":3,"forks":26,"open_issues":3,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/unclead/yii2-multiple-input/pulls/68"},"html":{"href":"https://github.com/unclead/yii2-multiple-input/pull/68"},"issue":{"href":"https://api.github.com/repos/unclead/yii2-multiple-input/issues/68"},"comments":{"href":"https://api.github.com/repos/unclead/yii2-multiple-input/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/unclead/yii2-multiple-input/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/unclead/yii2-multiple-input/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/unclead/yii2-multiple-input/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/unclead/yii2-multiple-input/statuses/0642fca4635b7534d674c140633046f8b82881ec"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"unclead","id":2351719,"avatar_url":"https://avatars.githubusercontent.com/u/2351719?v=3","gravatar_id":"","url":"https://api.github.com/users/unclead","html_url":"https://github.com/unclead","followers_url":"https://api.github.com/users/unclead/followers","following_url":"https://api.github.com/users/unclead/following{/other_user}","gists_url":"https://api.github.com/users/unclead/gists{/gist_id}","starred_url":"https://api.github.com/users/unclead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unclead/subscriptions","organizations_url":"https://api.github.com/users/unclead/orgs","repos_url":"https://api.github.com/users/unclead/repos","events_url":"https://api.github.com/users/unclead/events{/privacy}","received_events_url":"https://api.github.com/users/unclead/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":3,"additions":13,"deletions":2,"changed_files":2}}