{"action":"opened","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/issues/37","labels_url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/issues/37/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-widget-datepicker/issues/37/events","html_url":"https://github.com/kartik-v/yii2-widget-datepicker/issues/37","id":79592037,"number":37,"title":"Not sure how to get attributes to POST","user":{"login":"JamesBarnsley","id":1493566,"avatar_url":"https://avatars.githubusercontent.com/u/1493566?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesBarnsley","html_url":"https://github.com/JamesBarnsley","followers_url":"https://api.github.com/users/JamesBarnsley/followers","following_url":"https://api.github.com/users/JamesBarnsley/following{/other_user}","gists_url":"https://api.github.com/users/JamesBarnsley/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesBarnsley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesBarnsley/subscriptions","organizations_url":"https://api.github.com/users/JamesBarnsley/orgs","repos_url":"https://api.github.com/users/JamesBarnsley/repos","events_url":"https://api.github.com/users/JamesBarnsley/events{/privacy}","received_events_url":"https://api.github.com/users/JamesBarnsley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-22T20:11:27Z","updated_at":"2015-05-22T20:11:27Z","closed_at":null,"body":"I am using this code for my DatePicker ...\r\n\r\n<?php echo $form->field($profileProject, \"dateTo\")->widget(DatePicker::classname(), [\"attribute\" => \"dateFrom\", \"attribute2\" => \"dateTo\", \"type\" => DatePicker::TYPE_RANGE]); ?>\r\n\r\nThe problem is when it POSTs it only POSTs the \"dateTo\" it does not POST the \"dateFrom\"? I have set attribute1 and attribute2 so I do not get why it does not POST?"}}