Bugzilla – Attachment 194285 Details for
Bug 14962
Temp Shelving Location / On Display Module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14962: Add hints as option on Vue FormElement
3b975b4.patch (text/plain), 1.76 KB, created by
Martin Renvoize (ashimema)
on 2026-03-02 10:22:42 UTC
(
hide
)
Description:
Bug 14962: Add hints as option on Vue FormElement
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2026-03-02 10:22:42 UTC
Size:
1.76 KB
patch
obsolete
>From 3b975b4c63f2ef69675102acd7f77b460586f1b0 Mon Sep 17 00:00:00 2001 >From: Jake Deery <jake.deery@openfifth.co.uk> >Date: Thu, 29 Jan 2026 14:45:34 +0000 >Subject: [PATCH] Bug 14962: Add hints as option on Vue FormElement > >This patch adds the ability to add hints to form elements in Vue, essential for the On Display module. >Please see the test files commit for instructions on how to test this bundle of patches. > >Sponsored-by: ByWater Solutions >Signed-of-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > koha-tmpl/intranet-tmpl/prog/css/src/_forms.scss | 4 ++++ > .../intranet-tmpl/prog/js/vue/components/FormElement.vue | 3 +++ > 2 files changed, 7 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/_forms.scss b/koha-tmpl/intranet-tmpl/prog/css/src/_forms.scss >index bd87ad856ed..6f2c8854de1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/_forms.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/_forms.scss >@@ -255,6 +255,10 @@ fieldset { > margin: 0 0 0 1em; > } > >+ div.hint { >+ margin-left: 7rem; >+ } >+ > li.radio { > padding-left: 0; > } >diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/FormElement.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/FormElement.vue >index 8379c7eea33..e3ae50bddc3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/FormElement.vue >+++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/FormElement.vue >@@ -193,6 +193,9 @@ > <span style="margin-left: 5px" class="error" v-if="fieldInputError"> > {{ attr.formErrorMessage }} > </span> >+ <div v-if="attr.hint" class="hint"> >+ {{ attr.hint }} >+ </div> > </template> > > <script> >-- >2.53.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14962
:
190216
|
190217
|
190218
|
190219
|
190220
|
190221
|
190222
|
190223
|
190224
|
190225
|
190226
|
190227
|
190228
|
190229
|
190230
|
190231
|
190232
|
190571
|
190572
|
193719
|
193720
|
193721
|
193722
|
193723
|
193724
|
193725
|
193726
|
193727
|
193728
|
193729
|
193730
|
193731
|
193732
|
193733
|
193734
|
193735
|
193736
|
193737
|
193738
|
193739
|
193740
|
193741
|
193742
|
193743
|
193744
|
193745
|
193746
|
193747
|
193748
|
193749
|
193750
|
193751
|
193752
|
193753
|
193754
|
193755
| 194285 |
194286
|
194287
|
194288
|
194289
|
194290
|
194291
|
194292
|
194293
|
194294
|
194295
|
194296
|
194297
|
194298
|
194299
|
194300
|
194301
|
194302
|
194303
|
194304
|
194305
|
194306
|
194307
|
194308
|
194309
|
194310
|
194311
|
194312
|
194313
|
194314
|
194315
|
194316
|
194317
|
194318
|
194320
|
194321
|
194322