From 894a9be85431e5298786acfb57e6cd9cc6714fa4 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 20 Feb 2019 21:41:04 +0000 Subject: [PATCH] --- ayanova/src/api/locale.js | 17 ++++++++++++++++- ayanova/src/views/inventory-widget-edit.vue | 5 ++--- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/ayanova/src/api/locale.js b/ayanova/src/api/locale.js index 7e0e3669..9fa2ff98 100644 --- a/ayanova/src/api/locale.js +++ b/ayanova/src/api/locale.js @@ -39,5 +39,20 @@ export default { reject(error); }); }); - } + }, + //Keys that all edit forms have in common (saves retyping them over and over) + commonKeysEditForm: [ + //TODO: some of these are not going to be required / missed some I'm sure + "Active", + "Add", + "Cancel", + "Close", + "Save", + "Delete", + "OK", + "Print", + "WikiPage", + "Duplicate", + "RecordHistory" + ] }; diff --git a/ayanova/src/views/inventory-widget-edit.vue b/ayanova/src/views/inventory-widget-edit.vue index 81aad284..6b071b59 100644 --- a/ayanova/src/views/inventory-widget-edit.vue +++ b/ayanova/src/views/inventory-widget-edit.vue @@ -33,7 +33,6 @@ value="1" label="Option" data-vv-name="checkbox" - type="checkbox" required > submit @@ -43,7 +42,7 @@