From 640e6c80073fff473973a59764ffe5e7160ca2ab Mon Sep 17 00:00:00 2001 From: Pranav C Balan Date: Mon, 31 May 2021 22:52:04 +0530 Subject: [PATCH] fix(gui): app config form validation fix #199 Signed-off-by: Pranav C Balan --- .../project/appStore/appInstall.vue | 188 +++++++++--------- .../project/appStore/inputs/longTextField.vue | 13 +- .../project/appStore/inputs/passwordField.vue | 22 +- .../project/appStore/inputs/textField.vue | 9 +- 4 files changed, 127 insertions(+), 105 deletions(-) diff --git a/packages/nc-gui/components/project/appStore/appInstall.vue b/packages/nc-gui/components/project/appStore/appInstall.vue index ec2407162b..f158edbb93 100644 --- a/packages/nc-gui/components/project/appStore/appInstall.vue +++ b/packages/nc-gui/components/project/appStore/appInstall.vue @@ -1,77 +1,80 @@ @@ -81,13 +84,14 @@ import FormInput from "@/components/project/appStore/FormInput"; export default { name: "appInstall", components: {FormInput}, - props: ['title','defaultConfig'], + props: ['title', 'defaultConfig'], data: () => ({ plugin: null, formDetails: null, settings: null, pluginId: null, - title: null + title: null, + valid: null }), methods: { simpleAnim() { @@ -201,42 +205,48 @@ export default { diff --git a/packages/nc-gui/components/project/appStore/inputs/longTextField.vue b/packages/nc-gui/components/project/appStore/inputs/longTextField.vue index 400083f814..63f154e4f0 100644 --- a/packages/nc-gui/components/project/appStore/inputs/longTextField.vue +++ b/packages/nc-gui/components/project/appStore/inputs/longTextField.vue @@ -1,8 +1,13 @@ diff --git a/packages/nc-gui/components/project/appStore/inputs/passwordField.vue b/packages/nc-gui/components/project/appStore/inputs/passwordField.vue index 0d6d5d2756..5d20dcb023 100644 --- a/packages/nc-gui/components/project/appStore/inputs/passwordField.vue +++ b/packages/nc-gui/components/project/appStore/inputs/passwordField.vue @@ -1,14 +1,16 @@