]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 21 Sep 2018 10:32:18 +0000 (12:32 +0200)
commit4a0708dd3703d2b605b52438adaac72180e830be
tree1f20501ee169adc57175bbbfbbb15d2a671bce15
parentfe4d3d500622e81d5c7ad384b898b4c677bd096c
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>
(cherry picked from commit 9bb74effa31053c685902df48714a61c18d3c6d9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/css/select2.css