{"action":"created","issue":{"url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/132","repository_url":"https://api.github.com/repos/Laravel-Backpack/CRUD","labels_url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/132/comments","events_url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/132/events","html_url":"https://github.com/Laravel-Backpack/CRUD/pull/132","id":178887798,"number":132,"title":"Array/Matrix field type","user":{"login":"OwenMelbz","id":1094740,"avatar_url":"https://avatars.githubusercontent.com/u/1094740?v=3","gravatar_id":"","url":"https://api.github.com/users/OwenMelbz","html_url":"https://github.com/OwenMelbz","followers_url":"https://api.github.com/users/OwenMelbz/followers","following_url":"https://api.github.com/users/OwenMelbz/following{/other_user}","gists_url":"https://api.github.com/users/OwenMelbz/gists{/gist_id}","starred_url":"https://api.github.com/users/OwenMelbz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OwenMelbz/subscriptions","organizations_url":"https://api.github.com/users/OwenMelbz/orgs","repos_url":"https://api.github.com/users/OwenMelbz/repos","events_url":"https://api.github.com/users/OwenMelbz/events{/privacy}","received_events_url":"https://api.github.com/users/OwenMelbz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Laravel-Backpack/CRUD/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2016-09-23T14:11:14Z","updated_at":"2016-09-27T14:12:13Z","closed_at":"2016-09-26T16:43:15Z","pull_request":{"url":"https://api.github.com/repos/Laravel-Backpack/CRUD/pulls/132","html_url":"https://github.com/Laravel-Backpack/CRUD/pull/132","diff_url":"https://github.com/Laravel-Backpack/CRUD/pull/132.diff","patch_url":"https://github.com/Laravel-Backpack/CRUD/pull/132.patch"},"body":"**summary**\r\nEnables users to add an array of items, with multiple columns if they need, with re-ordering and deleting.\r\n\r\n**preview**\r\n![item array - edited](https://cloud.githubusercontent.com/assets/1094740/18788777/25d5fe24-81a0-11e6-9d5f-66350c41a0bf.gif)\r\n\r\n\r\n**usage**\r\n\r\ndatabase column type should be either json or text\r\n\r\n```php\r\n\r\n$this->crud->addField([\r\n            'name' => 'products',\r\n            'label' => 'Product',\r\n            'type' => 'array',\r\n            'properties' => [\r\n                'name' => 'Item Name',\r\n                'desc' => 'Description',\r\n                'price' => 'Price'\r\n            ],\r\n            'max' => 5,\r\n            'min' => 0\r\n        ]);\r\n\r\n$this->crud->setColumnDetails('products', [\r\n            'type' => 'array',\r\n            'display_field' => 'name',\r\n            'label' => 'Products',\r\n            'list' => true\r\n        ]);\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/comments/249876830","html_url":"https://github.com/Laravel-Backpack/CRUD/pull/132#issuecomment-249876830","issue_url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/132","id":249876830,"user":{"login":"guillermohaad","id":12921805,"avatar_url":"https://avatars.githubusercontent.com/u/12921805?v=3","gravatar_id":"","url":"https://api.github.com/users/guillermohaad","html_url":"https://github.com/guillermohaad","followers_url":"https://api.github.com/users/guillermohaad/followers","following_url":"https://api.github.com/users/guillermohaad/following{/other_user}","gists_url":"https://api.github.com/users/guillermohaad/gists{/gist_id}","starred_url":"https://api.github.com/users/guillermohaad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guillermohaad/subscriptions","organizations_url":"https://api.github.com/users/guillermohaad/orgs","repos_url":"https://api.github.com/users/guillermohaad/repos","events_url":"https://api.github.com/users/guillermohaad/events{/privacy}","received_events_url":"https://api.github.com/users/guillermohaad/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T14:12:13Z","updated_at":"2016-09-27T14:12:13Z","body":"public gist : https://gist.github.com/guillermohaad/f54c1263eab671be7fa38168e174f271"}}
{"actor":{"display_login":"guillermohaad"}}