From 70386a58f385d1db42dec2cd8e0eea17c32e6942 Mon Sep 17 00:00:00 2001 From: cgfhtw Date: Fri, 16 Feb 2024 08:53:34 +0100 Subject: [PATCH 1/7] Tabs Component: removed TODOs --- public/js/components/Tabs.js | 1 - 1 file changed, 1 deletion(-) diff --git a/public/js/components/Tabs.js b/public/js/components/Tabs.js index 25f225e01..8090a9d29 100644 --- a/public/js/components/Tabs.js +++ b/public/js/components/Tabs.js @@ -11,7 +11,6 @@ export default { 'changed' ], props: { - // TODO(chris): rename to config? config: { type: [String, Object], required: true From 6aebbada064689ef8dcc853e957aa41a928d2036 Mon Sep 17 00:00:00 2001 From: cgfhtw Date: Mon, 19 Feb 2024 10:39:18 +0100 Subject: [PATCH 2/7] Form Input: only setFeedback on last radio/checkbox in production mode --- public/js/components/Form/Input.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/public/js/components/Form/Input.js b/public/js/components/Form/Input.js index 4103c75cf..97a261779 100644 --- a/public/js/components/Form/Input.js +++ b/public/js/components/Form/Input.js @@ -200,13 +200,9 @@ export default { this.valid = valid; // NOTE(chris): On a list of radios/checkboxes only add the feedback message to the last item if (this.name && (this.lcType == 'radio' || this.lcType == 'checkbox')) { - let n = this.$el.nextSibling; - for (; n; n = n.nextSibling) - if (n.nodeType == 1 - && n.__vueParentComponent?.ctx?.lcType == this.lcType - && n.__vueParentComponent?.ctx?.name == this.name - ) - return; + const selector = 'input[type="' + this.lcType + '"][name="' + this.name + '"]'; + if ([...this.$el.parentNode.querySelectorAll(selector)].pop() != this.$refs.input) + return; } this.feedback = feedback; }, From 8ad2908ca9da25c386574b4899771a76f402302b Mon Sep 17 00:00:00 2001 From: cgfhtw Date: Mon, 19 Feb 2024 15:23:00 +0100 Subject: [PATCH 3/7] UploadDms: Delete Button styles --- public/js/components/Form/Upload/Dms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/components/Form/Upload/Dms.js b/public/js/components/Form/Upload/Dms.js index da37a2105..fe58fa74b 100644 --- a/public/js/components/Form/Upload/Dms.js +++ b/public/js/components/Form/Upload/Dms.js @@ -75,7 +75,7 @@ export default {
    -
  • +
  • {{ file.name }}