{"id":13847476,"url":"https://github.com/billdybas/formik-components","last_synced_at":"2025-07-12T09:32:14.654Z","repository":{"id":151725249,"uuid":"128703499","full_name":"billdybas/formik-components","owner":"billdybas","description":"Formik Wrappers for 3rd Party Components","archived":false,"fork":false,"pushed_at":"2018-04-10T23:48:42.000Z","size":12,"stargazers_count":7,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-05T18:23:48.408Z","etag":null,"topics":["formik","forms","react","wrapper"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/billdybas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-04-09T02:29:14.000Z","updated_at":"2020-09-27T15:43:20.000Z","dependencies_parsed_at":"2024-01-15T20:51:42.230Z","dependency_job_id":"966bedf0-26dc-4b3f-9b60-a44cbda9d57b","html_url":"https://github.com/billdybas/formik-components","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billdybas%2Fformik-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billdybas%2Fformik-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billdybas%2Fformik-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billdybas%2Fformik-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/billdybas","download_url":"https://codeload.github.com/billdybas/formik-components/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225812918,"owners_count":17528087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["formik","forms","react","wrapper"],"created_at":"2024-08-04T18:01:27.949Z","updated_at":"2024-11-21T22:30:23.374Z","avatar_url":"https://github.com/billdybas.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# formik-components\n\nFormik Wrappers for 3rd Party Components\n\n## Why?\n\n[Formik](https://github.com/jaredpalmer/formik) makes building React forms painless. 👍\n\nHowever, if you want to use it with 3rd party form components (eg. a fancy date picker), you need to make sure [event handlers are hooked up correctly](https://github.com/jaredpalmer/formik#why-use-setfieldvalue-instead-of-handlechange). That becomes tedious when multiple projects use the same 3rd party components w/ Formik.\n\nThis project includes Formik wrappers for several popular 3rd party components to act as drop-in replacements in Formik forms.\n\n## Supported Components\n\n- [react-dates](https://github.com/airbnb/react-dates)\n- [react-datetime](https://github.com/YouCanBookMe/react-datetime)\n- [react-select](https://github.com/JedWatson/react-select)\n\n## Conventions\n\nWrapped components generally require a `field` prop and an `input` prop.\n\nThe `field` prop must be equivalent to the `name` attribute on the field to match up with the Formik state.\n\nThe `input` prop is an object that contains `value`, `onChange`, and `onBlur`:\n- `value` must be provided the field's value from Formik's [`values`](https://github.com/jaredpalmer/formik#values--field-string-any-)\n- `onChange` must be provided Formik's [`setFieldValue`](https://github.com/jaredpalmer/formik#setfieldvalue-field-string-value-any-shouldvalidate-boolean--void)\n- `onBlur` must be provided Formik's [`setFieldTouched`](https://github.com/jaredpalmer/formik#setfieldtouched-field-string-istouched-boolean-shouldvalidate-boolean--void)\n\nAll other props passed to these components are passed through to the 3rd party component, so you can still customize it to your liking.\n\n## Contributing\n\nDo you want a Formik wrapper for another component library? Have you written a Formik wrapper for another component library? Consider making an [issue](https://github.com/billdybas/formik-components/issues) or submitting a [pull request](https://github.com/billdybas/formik-components/pulls). Your contributions are greatly appreciated! ❤️\n\n## License\n\nSee `LICENSE`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbilldybas%2Fformik-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbilldybas%2Fformik-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbilldybas%2Fformik-components/lists"}