Bug 29496: (bug 27526 follow-up) Fix item form validation
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 17 Nov 2021 14:48:48 +0000 (15:48 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 19 Nov 2021 14:07:10 +0000 (15:07 +0100)
commit90090a3601ae06ff070830827fad319f8b2f8cf2
tree6f16a6f134caadbd9c2deff05cd1b118ed4eafa5
parent294741b1df281c6ab44ea1399cc63c64714cd472
Bug 29496: (bug 27526 follow-up) Fix item form validation

The validation of the forms were blocked with "X item mandatory fields
empty" when at least one dropdown list subfield was marked as mandatory.

We need to add the 'input_marceditor' class to the select (does it
actually make sense? select vs input...)

Caused by
  commit 6ed29bccef590a1bc5e4cea175b41b8024483320
  Bug 27526: Fix mandatory and important checks
Which lamentably failed as it was stating:
"Using .input_marceditor let us fix the additem.tt form and prevent to break the other ones"

Signed-off-by: Marion Durand <marion.durand@biblibre.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt
koha-tmpl/intranet-tmpl/prog/en/modules/services/itemrecorddisplay.tt