{"action":"created","issue":{"url":"https://api.github.com/repos/Availity/availity-reactstrap-validation/issues/87","repository_url":"https://api.github.com/repos/Availity/availity-reactstrap-validation","labels_url":"https://api.github.com/repos/Availity/availity-reactstrap-validation/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/Availity/availity-reactstrap-validation/issues/87/comments","events_url":"https://api.github.com/repos/Availity/availity-reactstrap-validation/issues/87/events","html_url":"https://github.com/Availity/availity-reactstrap-validation/issues/87","id":346364769,"node_id":"MDU6SXNzdWUzNDYzNjQ3Njk=","number":87,"title":"Availity date picker not working in IE browser.","user":{"login":"AlpeshMN","id":37811280,"node_id":"MDQ6VXNlcjM3ODExMjgw","avatar_url":"https://avatars2.githubusercontent.com/u/37811280?v=4","gravatar_id":"","url":"https://api.github.com/users/AlpeshMN","html_url":"https://github.com/AlpeshMN","followers_url":"https://api.github.com/users/AlpeshMN/followers","following_url":"https://api.github.com/users/AlpeshMN/following{/other_user}","gists_url":"https://api.github.com/users/AlpeshMN/gists{/gist_id}","starred_url":"https://api.github.com/users/AlpeshMN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlpeshMN/subscriptions","organizations_url":"https://api.github.com/users/AlpeshMN/orgs","repos_url":"https://api.github.com/users/AlpeshMN/repos","events_url":"https://api.github.com/users/AlpeshMN/events{/privacy}","received_events_url":"https://api.github.com/users/AlpeshMN/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-31T21:27:17Z","updated_at":"2018-08-01T16:34:15Z","closed_at":null,"author_association":"NONE","body":"Hi @TheSharpieOne , Hope you are doing well.\r\n\r\nI am using availity date picker components for my react project. Date picker is not working for IE browser instead it works as a textfield. And when i submit the form from IE, it gives me undefined values of it. Below are the date picker fields i am using first with **AvField** and second with **AvInput**. On chrome, \"/\" is auto populated while in IE it's not instead i have to enter \"/\" manually which cause the issue while getting value of that field.\r\n\r\nWhen i enter date manually in IE, it gives me value like below.\r\n<img width=\"364\" alt=\"screen shot 2018-07-31 at 5 23 31 pm\" src=\"https://user-images.githubusercontent.com/37811280/43488105-a012ec64-94e6-11e8-90a4-a084a7144bb8.png\">\r\n\r\n`<Col xs=\"3\" sm=\"3\">\r\n                <AvField type='date' name='medDob' value={dashboardDataval.data.member.dateOfBirth} onChange={this.getMedicaidValues} label='Date of Birth*' validate={{\r\n                  max: {value: currentDate, errorMessage: 'Date should not be in future!'},\r\n                  required: {value: true, errorMessage: 'Date of Birth is required!'},\r\n                  date: {format: 'MM/DD/YYYY', errorMessage: 'Date format should be MM/DD/YYYY!'}\r\n                }}\r\n                />\r\n              </Col>\r\n              <Col xs=\"3\" sm=\"3\">\r\n                <AvGroup>\r\n                  <Label for='date'>Date of Birth*</Label>\r\n                  <AvInput name='medDob' id='date' type={'date'} value={dashboardDataval.data.medicaidMember.dateOfBirth} onChange={this.getMedicaidValues} placeholder='mm/dd/yyyy' max={currentDate} required/>\r\n                  <AvFeedback>Date is required and must not be in future!</AvFeedback>\r\n                </AvGroup>\r\n              </Col>`\r\n"},"comment":{"url":"https://api.github.com/repos/Availity/availity-reactstrap-validation/issues/comments/409637766","html_url":"https://github.com/Availity/availity-reactstrap-validation/issues/87#issuecomment-409637766","issue_url":"https://api.github.com/repos/Availity/availity-reactstrap-validation/issues/87","id":409637766,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTYzNzc2Ng==","user":{"login":"TheSharpieOne","id":664714,"node_id":"MDQ6VXNlcjY2NDcxNA==","avatar_url":"https://avatars3.githubusercontent.com/u/664714?v=4","gravatar_id":"","url":"https://api.github.com/users/TheSharpieOne","html_url":"https://github.com/TheSharpieOne","followers_url":"https://api.github.com/users/TheSharpieOne/followers","following_url":"https://api.github.com/users/TheSharpieOne/following{/other_user}","gists_url":"https://api.github.com/users/TheSharpieOne/gists{/gist_id}","starred_url":"https://api.github.com/users/TheSharpieOne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheSharpieOne/subscriptions","organizations_url":"https://api.github.com/users/TheSharpieOne/orgs","repos_url":"https://api.github.com/users/TheSharpieOne/repos","events_url":"https://api.github.com/users/TheSharpieOne/events{/privacy}","received_events_url":"https://api.github.com/users/TheSharpieOne/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T16:34:15Z","updated_at":"2018-08-01T16:34:15Z","author_association":"MEMBER","body":"I believe the issue is with your `onChange` method. Since it was not provided, I simply removed `onChange` and `value` so that I could run the code you provided. I was not able to replicate the issue in IE.\r\nhttps://stackblitz.com/edit/reactstrap-validation-v2-qhgkrp?file=Example.js\r\n![date-validation-ie](https://user-images.githubusercontent.com/664714/43534941-a07c0c9e-9586-11e8-8f49-0adce76f7975.gif)\r\n\r\nIf you can, please provide your `onChange` method so I can better understand what is happening."}}
{"actor":{"display_login":"TheSharpieOne"}}