{"action":"opened","issue":{"url":"https://api.github.com/repos/wangzuo/input-moment/issues/61","repository_url":"https://api.github.com/repos/wangzuo/input-moment","labels_url":"https://api.github.com/repos/wangzuo/input-moment/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/wangzuo/input-moment/issues/61/comments","events_url":"https://api.github.com/repos/wangzuo/input-moment/issues/61/events","html_url":"https://github.com/wangzuo/input-moment/issues/61","id":226587671,"number":61,"title":"feature request: boolean prop to determine what happens when next/prev month buttons are clicked","user":{"login":"ggrillone","id":1205249,"avatar_url":"https://avatars3.githubusercontent.com/u/1205249?v=3","gravatar_id":"","url":"https://api.github.com/users/ggrillone","html_url":"https://github.com/ggrillone","followers_url":"https://api.github.com/users/ggrillone/followers","following_url":"https://api.github.com/users/ggrillone/following{/other_user}","gists_url":"https://api.github.com/users/ggrillone/gists{/gist_id}","starred_url":"https://api.github.com/users/ggrillone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggrillone/subscriptions","organizations_url":"https://api.github.com/users/ggrillone/orgs","repos_url":"https://api.github.com/users/ggrillone/repos","events_url":"https://api.github.com/users/ggrillone/events{/privacy}","received_events_url":"https://api.github.com/users/ggrillone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-05T14:18:08Z","updated_at":"2017-05-05T14:18:08Z","closed_at":null,"body":"By next/prev buttons I'm referring to the buttons above the calendar that let you jump to the next or previous month.\r\n\r\nI have a use case where it is not very user friendly to have it actually change the date when next/prev month is clicked. I expanded on this project to create a range picker with min/max date constraints.\r\n\r\nTake the following use case:\r\n\r\nYou have the start date set to November 20th and the end date set to December 5th.\r\nWith the default behavior of the `input-moment` package, hitting \"prev month\" on the end date would change the end date to November 5th. With the added min/max date constraint functionality\r\nhitting \"prev month\" in this case actually does nothing and makes the calendar appear broken.\r\n\r\nI would like to request a new boolean prop to allow us to toggle on/off if the actual date value changes when next/prev month buttons are clicked\r\n"}}
{"actor":{"display_login":"ggrillone"}}