{"id":17132552,"url":"https://github.com/dyalicode/solid-formly","last_synced_at":"2026-02-19T13:31:57.349Z","repository":{"id":41656743,"uuid":"507410817","full_name":"dyaliCode/solid-formly","owner":"dyaliCode","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-04T22:48:04.000Z","size":287,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-28T12:46:38.485Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://solid.formly-js.com","language":"TypeScript","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/dyaliCode.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":"2022-06-25T20:28:21.000Z","updated_at":"2022-08-16T23:21:51.000Z","dependencies_parsed_at":"2023-01-17T19:51:40.057Z","dependency_job_id":null,"html_url":"https://github.com/dyaliCode/solid-formly","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dyaliCode/solid-formly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyaliCode%2Fsolid-formly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyaliCode%2Fsolid-formly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyaliCode%2Fsolid-formly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyaliCode%2Fsolid-formly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dyaliCode","download_url":"https://codeload.github.com/dyaliCode/solid-formly/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyaliCode%2Fsolid-formly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280038288,"owners_count":26261868,"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","status":"online","status_checked_at":"2025-10-20T02:00:06.978Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-14T19:27:24.934Z","updated_at":"2025-10-20T07:00:11.730Z","avatar_url":"https://github.com/dyaliCode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp\u003e\n  \u003cimg src=\"https://assets.solidjs.com/banner?project=Formly\u0026type=package\" alt=\"Solid Formly\" /\u003e\n\u003c/p\u003e\n\n\u003e Solid Formly by [@kamalkech](https://github.com/kamalkech).\n\n# Solid Fromly [![npm Version](https://img.shields.io/npm/v/solid-formly.svg?style=flat-square)](https://www.npmjs.org/package/solid-formly)\n\n## Features\n\n- ⚡️ Generate dynamic and reactive forms.\n- 😍 Easy to extend with custom field type, custom validation.\n\n## Documentation\n\n[Link Documentation](https://www.solid-formly.com/)\n\n## Installation\n\n```sh\n\u003e npm i solid-formly\n```\n\n## Usage for solidjs \u0026 solid-start\n\n```js\nimport { createSignal, Show } from \"solid-js\";\nimport { Formly, IValue, IField } from \"solid-formly\";\n\nconst form_name = \"formly_usage\";\nconst fields: IField[] = [\n  {\n    type: \"input\",\n    name: \"firstname\",\n    attributes: {\n      type: \"text\",\n      id: \"firstname\",\n      classes: [\"form-control\"],\n      placeholder: \"Tap your first name\"\n    },\n    rules: [\"required\", \"min:3\", \"max:10\"],\n    messages: {\n      required: \"The firstname is required\",\n      min: \"Your firstname is too short min=3\",\n      max: \"Your firstname is too long max=10\"\n    }\n  },\n  {\n    type: \"input\",\n    name: \"password\",\n    attributes: {\n      type: \"password\",\n      id: \"password\",\n      classes: [\"form-control\"],\n      placeholder: \"Tap your first name\",\n      autocomplete: \"off\"\n    },\n    rules: [\"required\", \"min:6\", \"max:10\"],\n    messages: {\n      required: \"The password is required\",\n      min: \"Your password is too short min=6\",\n      max: \"Your password is too long max=10\"\n    }\n  }\n];\n\nconst App = () =\u003e {\n  const [values, setValues] = createSignal \u003c any \u003e null;\n\n  const onSubmit = (data: IValue) =\u003e {\n    setValues(data);\n  };\n\n  return (\n    \u003c\u003e\n      \u003cShow when={values()}\u003e\n        \u003cpre\u003e\n          \u003ccode\u003e{JSON.stringify(values(), null, 2)}\u003c/code\u003e\n        \u003c/pre\u003e\n      \u003c/Show\u003e\n      \u003cFormly\n        form_name={props.form_name}\n        fields={props.fields}\n        onSubmit={onSubmit}\n        btnSubmit={{\n          text: \"Send\"\n        }}\n        btnReset={{\n          text: \"Reset\",\n          classes: [\"outline\", \"btn-primary\"]\n        }}\n        real={true}\n      /\u003e\n    \u003c/\u003e\n  );\n};\n\nexport default App;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyalicode%2Fsolid-formly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdyalicode%2Fsolid-formly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyalicode%2Fsolid-formly/lists"}