payload: {"action":"created","issue":{"url":"https://api.github.com/repos/dcasia/nova-mega-filter/issues/18","repository_url":"https://api.github.com/repos/dcasia/nova-mega-filter","labels_url":"https://api.github.com/repos/dcasia/nova-mega-filter/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/dcasia/nova-mega-filter/issues/18/comments","events_url":"https://api.github.com/repos/dcasia/nova-mega-filter/issues/18/events","html_url":"https://github.com/dcasia/nova-mega-filter/issues/18","id":549625003,"node_id":"MDU6SXNzdWU1NDk2MjUwMDM=","number":18,"title":"Fields with closures not attached to Column","user":{"login":"LorenzoSapora","id":25519274,"node_id":"MDQ6VXNlcjI1NTE5Mjc0","avatar_url":"https://avatars0.githubusercontent.com/u/25519274?v=4","gravatar_id":"","url":"https://api.github.com/users/LorenzoSapora","html_url":"https://github.com/LorenzoSapora","followers_url":"https://api.github.com/users/LorenzoSapora/followers","following_url":"https://api.github.com/users/LorenzoSapora/following{/other_user}","gists_url":"https://api.github.com/users/LorenzoSapora/gists{/gist_id}","starred_url":"https://api.github.com/users/LorenzoSapora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LorenzoSapora/subscriptions","organizations_url":"https://api.github.com/users/LorenzoSapora/orgs","repos_url":"https://api.github.com/users/LorenzoSapora/repos","events_url":"https://api.github.com/users/LorenzoSapora/events{/privacy}","received_events_url":"https://api.github.com/users/LorenzoSapora/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2020-01-14T15:02:50Z","updated_at":"2020-01-14T15:07:10Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I have some purely informational columns, example\r\n\r\n```php\r\nText::make('User Status', function() { return $this->user->status; })\r\n```\r\n\r\nAdding the field name into Column doesn't appear to attach them.\r\n\r\n```php\r\n    public function fields(Request $request)\r\n    {\r\n        return [\r\n            Text::make('Status', function () {\r\n                return $this->user->status;\r\n            }),\r\n        ];\r\n    }\r\n    public function cards(Request $request)\r\n    {\r\n        return [\r\n            MegaFilter::make([\r\n                'columns' => [\r\n                    Column::make('Status')->checked(),\r\n                ]\r\n            ])\r\n        ];\r\n    }\r\n```\r\n\r\nIs this a bug, or is it looking for the attribute (i.e. `Text::make('Status', 'userStatus')`)"},"comment":{"url":"https://api.github.com/repos/dcasia/nova-mega-filter/issues/comments/574218020","html_url":"https://github.com/dcasia/nova-mega-filter/issues/18#issuecomment-574218020","issue_url":"https://api.github.com/repos/dcasia/nova-mega-filter/issues/18","id":574218020,"node_id":"MDEyOklzc3VlQ29tbWVudDU3NDIxODAyMA==","user":{"login":"milewski","id":2874967,"node_id":"MDQ6VXNlcjI4NzQ5Njc=","avatar_url":"https://avatars3.githubusercontent.com/u/2874967?v=4","gravatar_id":"","url":"https://api.github.com/users/milewski","html_url":"https://github.com/milewski","followers_url":"https://api.github.com/users/milewski/followers","following_url":"https://api.github.com/users/milewski/following{/other_user}","gists_url":"https://api.github.com/users/milewski/gists{/gist_id}","starred_url":"https://api.github.com/users/milewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milewski/subscriptions","organizations_url":"https://api.github.com/users/milewski/orgs","repos_url":"https://api.github.com/users/milewski/repos","events_url":"https://api.github.com/users/milewski/events{/privacy}","received_events_url":"https://api.github.com/users/milewski/received_events","type":"User","site_admin":false},"created_at":"2020-01-14T15:07:10Z","updated_at":"2020-01-14T15:07:10Z","author_association":"CONTRIBUTOR","body":"The attribute is always required, without it, I can not match the column with a field, computed fields has no attributes, so instead of \r\n\r\n```php\r\nText::make('Reach', function () {\r\n                return $this->user->status;\r\n            }),\r\n```\r\nyou need to do:\r\n\r\n```php\r\nText::make('Reach')->resolveUsing(fn()=> $this->user->status)\r\nor\r\nText::make('Reach', 'user->status')\r\n....\r\nColumn::make('Status', 'user->status')->checked()\r\n```\r\n"}}
other: {"actor":{"display_login":"milewski"}}