From 483f789b8ecb2139fecd83af917bd0e9288ec6ab Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Sun, 31 Jul 2022 15:31:20 -0500 Subject: [PATCH] feat: create new foods and units from their Data Management pages (#1511) * added create dialogs to food and unit pages * minor css tweaks * properly reset create form * added placeholder name attribute for type checking * removed unnecessary value assignment * type fixes * corrected comment * add autofocus and use ref for form refs Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com> --- frontend/components/global/CrudTable.vue | 2 +- frontend/pages/group/data/foods.vue | 69 ++++++++++++++++++++++- frontend/pages/group/data/recipes.vue | 2 +- frontend/pages/group/data/units.vue | 71 +++++++++++++++++++++++- 4 files changed, 139 insertions(+), 5 deletions(-) diff --git a/frontend/components/global/CrudTable.vue b/frontend/components/global/CrudTable.vue index 393d944bdb4b..ee0905b31def 100644 --- a/frontend/components/global/CrudTable.vue +++ b/frontend/components/global/CrudTable.vue @@ -3,7 +3,7 @@