]> git.koha-community.org Git - koha.git/commit
Bug 21148: Dropdowns styled by the Select2 plugin do not highlight missing required...
authorOwen Leonard <oleonard@myacpl.org>
Thu, 2 Aug 2018 13:46:31 +0000 (13:46 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 10 Aug 2018 07:33:12 +0000 (08:33 +0100)
commit9bb74effa31053c685902df48714a61c18d3c6d9
tree730bb8a1da86e4d6b3ef13e1c28d6025158e9f58
parentb3b976f189fc455f8f0ac553c99d6efb859d747f
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.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 62aacb5865719e27224bf8f1963de1888d2ca05d)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/css/select2.css