{"action":"created","issue":{"url":"https://api.github.com/repos/jaredpalmer/formik/issues/43","repository_url":"https://api.github.com/repos/jaredpalmer/formik","labels_url":"https://api.github.com/repos/jaredpalmer/formik/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/jaredpalmer/formik/issues/43/comments","events_url":"https://api.github.com/repos/jaredpalmer/formik/issues/43/events","html_url":"https://github.com/jaredpalmer/formik/issues/43","id":241751977,"number":43,"title":"Using Formik Autosuggest component","user":{"login":"pradok","id":1078098,"avatar_url":"https://avatars1.githubusercontent.com/u/1078098?v=3","gravatar_id":"","url":"https://api.github.com/users/pradok","html_url":"https://github.com/pradok","followers_url":"https://api.github.com/users/pradok/followers","following_url":"https://api.github.com/users/pradok/following{/other_user}","gists_url":"https://api.github.com/users/pradok/gists{/gist_id}","starred_url":"https://api.github.com/users/pradok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradok/subscriptions","organizations_url":"https://api.github.com/users/pradok/orgs","repos_url":"https://api.github.com/users/pradok/repos","events_url":"https://api.github.com/users/pradok/events{/privacy}","received_events_url":"https://api.github.com/users/pradok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-10T15:25:10Z","updated_at":"2017-07-10T16:15:19Z","closed_at":null,"body":"hi, I have autosuggest component that needs to be part of the form, Formik has no way of knowing it. \r\nSo I got another text field that changes via state when auto suggest is selected, but since this Formik aware text field which also required has not been touched, Formik sees as invalid even though the field has value via state triggered by the autosuggest component. Any idea how can I make Formik aware of the field changes via state?"},"comment":{"url":"https://api.github.com/repos/jaredpalmer/formik/issues/comments/314156052","html_url":"https://github.com/jaredpalmer/formik/issues/43#issuecomment-314156052","issue_url":"https://api.github.com/repos/jaredpalmer/formik/issues/43","id":314156052,"user":{"login":"pradok","id":1078098,"avatar_url":"https://avatars1.githubusercontent.com/u/1078098?v=3","gravatar_id":"","url":"https://api.github.com/users/pradok","html_url":"https://github.com/pradok","followers_url":"https://api.github.com/users/pradok/followers","following_url":"https://api.github.com/users/pradok/following{/other_user}","gists_url":"https://api.github.com/users/pradok/gists{/gist_id}","starred_url":"https://api.github.com/users/pradok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pradok/subscriptions","organizations_url":"https://api.github.com/users/pradok/orgs","repos_url":"https://api.github.com/users/pradok/repos","events_url":"https://api.github.com/users/pradok/events{/privacy}","received_events_url":"https://api.github.com/users/pradok/received_events","type":"User","site_admin":false},"created_at":"2017-07-10T16:15:19Z","updated_at":"2017-07-10T16:15:19Z","body":"Thanks. I am using this component https://github.com/moroshko/react-autosuggest copied all what is said under 'Basic Usage' and wrapped into a component called AutoSuggest and use as below, location (values.location) field is required.\r\n\r\n```\r\n<AutoSuggest\r\n            value={values.location}\r\n            onChange={handleChangeValue}\r\n            placeholder='Suburb/Postcode'\r\n            handleSelect={this.handleAutoSelectCallback}\r\n  />\r\n```\r\nI am unsure how to use handleChangeValue and how to hook it up with AutoSuggest, is this in Formik object along with mapPropsToValues, mapValuesToPayload etc.?\r\n\r\nEven after filling the value from autosuggest, Formik still renders this field as required."}}
{"actor":{"display_login":"pradok"}}