{"action":"created","issue":{"url":"https://api.github.com/repos/jquense/react-widgets/issues/383","repository_url":"https://api.github.com/repos/jquense/react-widgets","labels_url":"https://api.github.com/repos/jquense/react-widgets/issues/383/labels{/name}","comments_url":"https://api.github.com/repos/jquense/react-widgets/issues/383/comments","events_url":"https://api.github.com/repos/jquense/react-widgets/issues/383/events","html_url":"https://github.com/jquense/react-widgets/issues/383","id":154388267,"number":383,"title":"DateTimePicker is not handling required attribute","user":{"login":"lik2016","id":19315480,"avatar_url":"https://avatars.githubusercontent.com/u/19315480?v=3","gravatar_id":"","url":"https://api.github.com/users/lik2016","html_url":"https://github.com/lik2016","followers_url":"https://api.github.com/users/lik2016/followers","following_url":"https://api.github.com/users/lik2016/following{/other_user}","gists_url":"https://api.github.com/users/lik2016/gists{/gist_id}","starred_url":"https://api.github.com/users/lik2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lik2016/subscriptions","organizations_url":"https://api.github.com/users/lik2016/orgs","repos_url":"https://api.github.com/users/lik2016/repos","events_url":"https://api.github.com/users/lik2016/events{/privacy}","received_events_url":"https://api.github.com/users/lik2016/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-12T03:17:11Z","updated_at":"2016-05-12T12:38:06Z","closed_at":"2016-05-12T11:39:21Z","body":"I am having a need to make some date pickers as a required field in a form, but the required attribute is not handled.\r\n\r\n<DateTimePicker  defaultVaule={null} required=\"required\" footer={false} format=\"MM/DD/YYYY\" time={false} onChange={this._onDateChange.bind(this, 'invoice')} />"},"comment":{"url":"https://api.github.com/repos/jquense/react-widgets/issues/comments/218744156","html_url":"https://github.com/jquense/react-widgets/issues/383#issuecomment-218744156","issue_url":"https://api.github.com/repos/jquense/react-widgets/issues/383","id":218744156,"user":{"login":"lik2016","id":19315480,"avatar_url":"https://avatars.githubusercontent.com/u/19315480?v=3","gravatar_id":"","url":"https://api.github.com/users/lik2016","html_url":"https://github.com/lik2016","followers_url":"https://api.github.com/users/lik2016/followers","following_url":"https://api.github.com/users/lik2016/following{/other_user}","gists_url":"https://api.github.com/users/lik2016/gists{/gist_id}","starred_url":"https://api.github.com/users/lik2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lik2016/subscriptions","organizations_url":"https://api.github.com/users/lik2016/orgs","repos_url":"https://api.github.com/users/lik2016/repos","events_url":"https://api.github.com/users/lik2016/events{/privacy}","received_events_url":"https://api.github.com/users/lik2016/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T12:38:06Z","updated_at":"2016-05-12T12:38:06Z","body":"Adding just one-line of code in DateTimePicker.js will make your widget have this feature.\r\nAdd the following in __react2.default.createElement_ (after line 306).\r\n**required: _props.required,**\r\nWould you mind making this change?\r\n\r\n\r\n\r\n\r\n"}}