Bugzilla – Attachment 77442 Details for
Bug 21148
Dropdowns styled by the Select2 plugin do not highlight missing required fields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21148: Dropdowns styled by the Select2 plugin do not highlight missing required fields
Bug-21148-Dropdowns-styled-by-the-Select2-plugin-d.patch (text/plain), 1.21 KB, created by
Owen Leonard
on 2018-08-02 13:52:32 UTC
(
hide
)
Description:
Bug 21148: Dropdowns styled by the Select2 plugin do not highlight missing required fields
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2018-08-02 13:52:32 UTC
Size:
1.21 KB
patch
obsolete
>From a40923f88dcccc88a968518d7a7b649d237934c2 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 2 Aug 2018 13:46:31 +0000 >Subject: [PATCH] Bug 21148: Dropdowns styled by the Select2 plugin do not > highlight missing required fields > >This patch adds some CSS to target mandatory fields on the add item >screen which are styled by the Select2 plugin. > >To test you must have at least one item field marked mandatory and >linked to an authorized value. > >Open the add item form for an existing record. Try to submit the form >without making a selection in the mandatory dropdown. You should get an >alert warning you that you have empty mandatory fields, and the field >should be highlighted in yellow. >--- > koha-tmpl/intranet-tmpl/prog/css/select2.css | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/select2.css b/koha-tmpl/intranet-tmpl/prog/css/select2.css >index 82367f6..c9550fd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/select2.css >+++ b/koha-tmpl/intranet-tmpl/prog/css/select2.css >@@ -6,3 +6,7 @@ > background: initial; > background-color : #FFFF99; > } >+ >+.select2-container.missing .select2-choice { >+ background: #ffc none; >+} >\ No newline at end of file >-- >2.1.4
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 21148
:
77442
|
77446
|
77494