{"id":15760034,"url":"https://github.com/ofhouse/angular-forms-child-components","last_synced_at":"2025-03-31T09:14:37.976Z","repository":{"id":96085411,"uuid":"211903967","full_name":"ofhouse/angular-forms-child-components","owner":"ofhouse","description":"Example Angular app which demonstrates how to use child components in an reactive form context.","archived":false,"fork":false,"pushed_at":"2019-09-30T16:55:08.000Z","size":127,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T05:20:59.624Z","etag":null,"topics":["angular","angular-learning"],"latest_commit_sha":null,"homepage":"https://codesandbox.io/s/github/ofhouse/angular-forms-child-components","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ofhouse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-09-30T16:25:20.000Z","updated_at":"2019-09-30T16:55:10.000Z","dependencies_parsed_at":"2023-03-13T16:38:09.903Z","dependency_job_id":null,"html_url":"https://github.com/ofhouse/angular-forms-child-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/ofhouse%2Fangular-forms-child-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofhouse%2Fangular-forms-child-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofhouse%2Fangular-forms-child-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ofhouse%2Fangular-forms-child-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ofhouse","download_url":"https://codeload.github.com/ofhouse/angular-forms-child-components/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246443543,"owners_count":20778251,"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":["angular","angular-learning"],"created_at":"2024-10-04T10:40:41.040Z","updated_at":"2025-03-31T09:14:37.943Z","avatar_url":"https://github.com/ofhouse.png","language":"TypeScript","readme":"# Example Angular app\n\nThis app is an example how to use child components in Angular reactive forms.\n\n\u003e You can also checkout the code online in CodeSandbox:\n\n[View it on CodeSandbox](https://codesandbox.io/s/github/ofhouse/angular-forms-child-components)\n\n## Idea\n\nThe idea is to to create a `formGroup` in the main view and pass it to it's child components.\nThe child components then create a new form by themselves and initialize it with the passed `formGroup` input value from the main view.\n\nTo learn more about this technique you can checkout this article by Josh Hicks:\n\n[Using Child Components in Angular Forms](https://medium.com/@joshblf/using-child-components-in-angular-forms-d44e60036664)\n\n## Author\n\n\u003c!-- prettier-ignore-start --\u003e\n\n| [\u003cimg src=\"https://avatars0.githubusercontent.com/u/472867?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eFelix Haus\u003c/b\u003e\u003c/sub\u003e](https://github.com/ofhouse)\u003cbr /\u003e\u003csub\u003e[Website](https://felix.house/) • [Twitter](https://twitter.com/ofhouse)\u003c/sub\u003e|\n| :---: |\n\n\u003c!-- prettier-ignore-end --\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofhouse%2Fangular-forms-child-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fofhouse%2Fangular-forms-child-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fofhouse%2Fangular-forms-child-components/lists"}