{"action":"opened","issue":{"url":"https://api.github.com/repos/bootstrap-ruby/rails-bootstrap-forms/issues/341","repository_url":"https://api.github.com/repos/bootstrap-ruby/rails-bootstrap-forms","labels_url":"https://api.github.com/repos/bootstrap-ruby/rails-bootstrap-forms/issues/341/labels{/name}","comments_url":"https://api.github.com/repos/bootstrap-ruby/rails-bootstrap-forms/issues/341/comments","events_url":"https://api.github.com/repos/bootstrap-ruby/rails-bootstrap-forms/issues/341/events","html_url":"https://github.com/bootstrap-ruby/rails-bootstrap-forms/issues/341","id":252143566,"number":341,"title":"Set min/max year on date_field","user":{"login":"clveranis","id":26399853,"avatar_url":"https://avatars3.githubusercontent.com/u/26399853?v=4","gravatar_id":"","url":"https://api.github.com/users/clveranis","html_url":"https://github.com/clveranis","followers_url":"https://api.github.com/users/clveranis/followers","following_url":"https://api.github.com/users/clveranis/following{/other_user}","gists_url":"https://api.github.com/users/clveranis/gists{/gist_id}","starred_url":"https://api.github.com/users/clveranis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clveranis/subscriptions","organizations_url":"https://api.github.com/users/clveranis/orgs","repos_url":"https://api.github.com/users/clveranis/repos","events_url":"https://api.github.com/users/clveranis/events{/privacy}","received_events_url":"https://api.github.com/users/clveranis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-23T02:43:18Z","updated_at":"2017-08-23T02:43:18Z","closed_at":null,"body":"Hi, so I've been searching all over and trying to figure out where the calendar drop down comes from for the date_field input so that way I can set some type of validation on it in the same way that if you try to type in the month '13' or even '02/31/xxxx', it will automatically notify you to select a valid date. However, I can type in '01/01/0001' or '05/31/9999' and those are valid and I would like to prevent that from occurring. If date_field is smart enough to know there are only 27/28 days in February and only 12 months in a year, then it stands to reason that there is the ability to only allow years 1800-2200 or the like. \r\n\r\nSo is there a way I can dig into this and set it and/or where does it pull that calendar drop down from? Thanks!"}}
{"actor":{"display_login":"clveranis"}}