From 40e096d8795e0930c99aacbc4116fceacb13ef41 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Wed, 11 Dec 2019 16:53:55 -0500 Subject: Fix units form control name --- recipeBuddy/src/app/add-recipe/add-recipe.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipeBuddy/src/app/add-recipe/add-recipe.component.ts') diff --git a/recipeBuddy/src/app/add-recipe/add-recipe.component.ts b/recipeBuddy/src/app/add-recipe/add-recipe.component.ts index 0366950..3c32ae7 100644 --- a/recipeBuddy/src/app/add-recipe/add-recipe.component.ts +++ b/recipeBuddy/src/app/add-recipe/add-recipe.component.ts @@ -29,7 +29,7 @@ export class AddRecipeComponent { this.fb.group({ ingrName: [''], amount: ['', Validators.pattern('^[0-9]*(\.[0-9]*)?$')], - units: [''] + unit: [''] }) ]), steps: this.fb.array([ @@ -61,7 +61,7 @@ export class AddRecipeComponent { this.fb.group({ ingrName: [''], amount: ['', Validators.pattern('^[0-9]*(\.[0-9]*)?$')], - units: [''] + unit: [''] }) ); } -- cgit v1.1