{"id":26472620,"url":"https://github.com/msamirma/react-native-form-runtime","last_synced_at":"2025-10-19T18:57:08.774Z","repository":{"id":57337129,"uuid":"151624852","full_name":"msamirma/react-native-form-runtime","owner":"msamirma","description":"React Native With Expo and Native Base Dynamic form","archived":false,"fork":false,"pushed_at":"2018-10-07T12:06:03.000Z","size":55,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T11:25:19.007Z","etag":null,"topics":["expo","form-at-runtime","forms","json-forms","native-base","react-native"],"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/msamirma.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}},"created_at":"2018-10-04T19:26:10.000Z","updated_at":"2023-08-26T07:23:11.000Z","dependencies_parsed_at":"2022-09-12T13:20:16.810Z","dependency_job_id":null,"html_url":"https://github.com/msamirma/react-native-form-runtime","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/msamirma%2Freact-native-form-runtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msamirma%2Freact-native-form-runtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msamirma%2Freact-native-form-runtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msamirma%2Freact-native-form-runtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msamirma","download_url":"https://codeload.github.com/msamirma/react-native-form-runtime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244227551,"owners_count":20419258,"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":["expo","form-at-runtime","forms","json-forms","native-base","react-native"],"created_at":"2025-03-19T21:35:18.622Z","updated_at":"2025-10-19T18:57:08.666Z","avatar_url":"https://github.com/msamirma.png","language":"JavaScript","readme":"# React Native Form Runtime\n\nForm runtime is a react container that let you to have dynamic forms based on design json schema.\n\n# Sample output\n\n\u003cimg src=\"https://github.com/msamirma/react-native-form-runtime/blob/master/Example.png\" width=\"200\" height=\"400\" /\u003e\n# Prerequisites\nYou must have installed Expo And Native base in your application.\n\n# Installing\n\n```sh\n$ yarn add react-native-form-runtime\n```\n\n# Simple Example\n\n```sh\nimport FormRuntime from \"react-native-form-runtime\";\n...\nconst formDesign = [\n      {\n        type: \"Text\",\n        field: \"firstName\",\n        label: \"First Name\"\n      },\n      {\n        type: \"Number\",\n        field: \"age\",\n        label: \"Age\"\n      },\n      {\n        type: \"Picker\",\n        field: \"gender\",\n        label: \"Select Gender\",\n        options: [\"Male\", \"Female\"]\n      }\n    ];\n...\n_submit(formData: {}, ACTION: string) {\n    console.log(formData);\n}\n...\n \u003cFormRuntime\n    formDesign={formDesign}\n    type=\"submit\"\n    submit={this._submit.bind(this)}\n    /\u003e\n```\n\n### Available Properties\n\n| Property   | Type             | Description                                                        |\n| ---------- | ---------------- | ------------------------------------------------------------------ |\n| formDesign | Array of objects | Array holds number of fields in form                               |\n| type       | string           | Action will be taken when click on submit                          |\n| submit     | function         | Function will be called to submit your data to server for example. |\n\n### Available Fields ( Type in form design array)\n\n| Field    | Description                           |\n| -------- | ------------------------------------- |\n| Text     | simple text input                     |\n| Number   | simple number input                   |\n| Checkbox | simple checkbox                       |\n| Label    | text field                            |\n| Picker   | picker . MUST have options property . |\n\n# Todo\n\n- [ ] View Mode\n- [ ] Form validation\n- [ ] Flow Typed And Linting\n- [ ] Test\n- [x] Add Picker Field\n- [ ] Add more fields (Cont.)\n- [ ] Add Example (Cont.)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsamirma%2Freact-native-form-runtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsamirma%2Freact-native-form-runtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsamirma%2Freact-native-form-runtime/lists"}