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)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 9 Aug 2018 10:44:31 +0000 (10:44 +0000)
commit62aacb5865719e27224bf8f1963de1888d2ca05d
treed7293c8a197acfcf3b3acc2348b9bd7dc58f9757
parent948566e7f36a75a186f96b5ee07b5120a5413ca5
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>
koha-tmpl/intranet-tmpl/prog/css/select2.css