From 1df633dacd44b425af728dfff92ee5f1a2ce6cb3 Mon Sep 17 00:00:00 2001 From: "Kevin C. Coram" Date: Sat, 7 Sep 2019 21:19:44 -0400 Subject: [PATCH] Link documentation to application code Removes the "/README.md" from the links to the applications. Gitea/GitHub/etc will display the contents of the README.md file along with the code anyway, so linking this way gives better context for the application projects. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f1a8fa1..847a35a 100644 --- a/README.md +++ b/README.md @@ -12,16 +12,16 @@ Each application implements a simple contact management form, capturing simple d ## Base Line - The Single component -The [Base Line](apps/baseline/README.md) application implements the contact manangement form in a single angular component, directly using the example techniques from the [Reactive Forms](https://angular.io/guide/reactive-forms) documentation. +The [Base Line](apps/baseline) application implements the contact manangement form in a single angular component, directly using the example techniques from the [Reactive Forms](https://angular.io/guide/reactive-forms) documentation. ## Components Creating Own Form Controls When searching the Internet for examples of nested forms in Angular, one popular approach is to have each sub-component be responsible for creating its own form controls. The parent form is passed in as an `@Input`, and the component adds its components to the form using the `addControl(name, control)` method. -The [Parent Form](apps/parent-form/README.md) application explores this approach. +The [Parent Form](apps/parent-form) application explores this approach. ## Parent Component Creates Form and Passes Form Controls Into Child Components Another approach is to allow the outermost, or parent, component create the full Reactive Form. Each child component is given the `FormGroup` containing the portion of the form that it is responsible for rendering. -The [Global Form](apps/global-form/README.md) application explores this approach. \ No newline at end of file +The [Global Form](apps/global-form) application explores this approach. \ No newline at end of file