{"action":"created","issue":{"url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1622","repository_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker","labels_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1622/labels{/name}","comments_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1622/comments","events_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1622/events","html_url":"https://github.com/dangrossman/bootstrap-daterangepicker/issues/1622","id":280430174,"number":1622,"title":"Initialize value not working without default type text","user":{"login":"sergiobelya","id":6141086,"avatar_url":"https://avatars1.githubusercontent.com/u/6141086?v=4","gravatar_id":"","url":"https://api.github.com/users/sergiobelya","html_url":"https://github.com/sergiobelya","followers_url":"https://api.github.com/users/sergiobelya/followers","following_url":"https://api.github.com/users/sergiobelya/following{/other_user}","gists_url":"https://api.github.com/users/sergiobelya/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiobelya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiobelya/subscriptions","organizations_url":"https://api.github.com/users/sergiobelya/orgs","repos_url":"https://api.github.com/users/sergiobelya/repos","events_url":"https://api.github.com/users/sergiobelya/events{/privacy}","received_events_url":"https://api.github.com/users/sergiobelya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-08T09:43:21Z","updated_at":"2017-12-12T05:19:32Z","closed_at":"2017-12-12T05:19:32Z","author_association":"NONE","body":"If an input element contains initial values\r\nand `input` not has attribute `type=\"text\"` (default for html)\r\ninitialize value is incorrect.\r\nSee https://github.com/dangrossman/bootstrap-daterangepicker/blob/v2.1.25/daterangepicker.js#L287\r\n\r\nMaybe\r\n`if ($(this.element).is('input[type=text]') || $(this.element).prop('type') === 'text') {`\r\nwill resolved this problem."},"comment":{"url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/comments/350948232","html_url":"https://github.com/dangrossman/bootstrap-daterangepicker/issues/1622#issuecomment-350948232","issue_url":"https://api.github.com/repos/dangrossman/bootstrap-daterangepicker/issues/1622","id":350948232,"user":{"login":"dangrossman","id":407706,"avatar_url":"https://avatars2.githubusercontent.com/u/407706?v=4","gravatar_id":"","url":"https://api.github.com/users/dangrossman","html_url":"https://github.com/dangrossman","followers_url":"https://api.github.com/users/dangrossman/followers","following_url":"https://api.github.com/users/dangrossman/following{/other_user}","gists_url":"https://api.github.com/users/dangrossman/gists{/gist_id}","starred_url":"https://api.github.com/users/dangrossman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dangrossman/subscriptions","organizations_url":"https://api.github.com/users/dangrossman/orgs","repos_url":"https://api.github.com/users/dangrossman/repos","events_url":"https://api.github.com/users/dangrossman/events{/privacy}","received_events_url":"https://api.github.com/users/dangrossman/received_events","type":"User","site_admin":false},"created_at":"2017-12-12T05:19:32Z","updated_at":"2017-12-12T05:19:32Z","author_association":"OWNER","body":"Or add `type=\"text\"` to your input"}}
{"actor":{"display_login":"dangrossman"}}