{"id":18336309,"url":"https://github.com/launchpadlab/lp-form","last_synced_at":"2026-03-10T18:02:16.107Z","repository":{"id":25694456,"uuid":"99595657","full_name":"LaunchPadLab/lp-form","owner":"LaunchPadLab","description":"Extensions for the reduxForm HOC","archived":false,"fork":false,"pushed_at":"2025-03-05T07:55:40.000Z","size":465,"stargazers_count":0,"open_issues_count":13,"forks_count":1,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-03-21T17:23:00.243Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/LaunchPadLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-07T16:00:43.000Z","updated_at":"2020-12-01T22:55:36.000Z","dependencies_parsed_at":"2024-11-05T20:11:22.047Z","dependency_job_id":"900e851f-e738-4b85-9f4e-e9a617bb414b","html_url":"https://github.com/LaunchPadLab/lp-form","commit_stats":{"total_commits":97,"total_committers":5,"mean_commits":19.4,"dds":"0.45360824742268047","last_synced_commit":"fdb4766b7d739a98bc84501cef57e7fca7b2999b"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaunchPadLab%2Flp-form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaunchPadLab%2Flp-form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaunchPadLab%2Flp-form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LaunchPadLab%2Flp-form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LaunchPadLab","download_url":"https://codeload.github.com/LaunchPadLab/lp-form/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247435041,"owners_count":20938530,"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":[],"created_at":"2024-11-05T20:07:22.859Z","updated_at":"2026-03-10T18:02:11.063Z","avatar_url":"https://github.com/LaunchPadLab.png","language":"JavaScript","readme":"[![npm version](https://badge.fury.io/js/%40launchpadlab%2Flp-form.svg)](https://badge.fury.io/js/%40launchpadlab%2Flp-form)\n\n# lp-form\n\nA drop-in replacemement for the [`reduxForm()`](https://redux-form.com/8.3.0/docs/api/reduxform.md/) Higher-Order Component from [redux-form](https://redux-form.com/) that adds extra options and functionality.\n\n```jsx\nimport React from 'react'\nimport { compose } from 'recompose'\nimport { Field } from 'redux-form'\nimport { lpForm } from 'lp-form'\nimport { Input, SubmitButton } from 'lp-components'\n\nfunction MyForm({ handleSubmit }) {\n  return (\n    \u003cform onSubmit={handleSubmit}\u003e\n      \u003cField name=\"name\" component={Input} /\u003e\n      \u003cSubmitButton\u003e Submit \u003c/SubmitButton\u003e\n    \u003c/form\u003e\n  )\n}\n\nexport default compose(\n  lpForm({\n    name: 'MyForm',\n    // Constraints is a special option that adds validations to the form.\n    constraints: { name: { presence: true } },\n  })\n)(MyForm)\n```\n\nAll available options and enhancements can be found in the [documentation](#documentation).\n\n## Documentation\n\nDocumentation and usage info can be found in [docs.md](docs.md).\n\n## Migration Guides\n\n- [v2.0.0](migration-guides/v2.0.0.md)\n\n## Contribution\n\nThis package follows the Opex [NPM package guidelines](https://github.com/LaunchPadLab/opex/blob/master/gists/npm-package-guidelines.md). Please refer to the linked document for information on contributing, testing and versioning.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaunchpadlab%2Flp-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaunchpadlab%2Flp-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaunchpadlab%2Flp-form/lists"}