Bug 30618

Summary: Important and mandatory select fields not highlighted on additem.pl
Product: Koha Reporter: Emmi Takkinen <emmi.takkinen>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: lmstrand, m.de.rooy
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Emmi Takkinen 2022-04-26 07:46:45 UTC
If one tries to add an item and mandatory or important select field isn't filled, field isn't highlighted like input fields.
Comment 1 Lari Strand 2023-12-01 12:21:55 UTC
As far as I can see, only the select2 elements are not highlighted after the page reloads when mandatory fields have not been filled. I couldn't locate how the "missing" properties to the elements' class are generated (like <input type="text" id="tag_952_subfield_y_371260" name="items.itype" class="input_marceditor items.itype noEnterSubmit missing" maxlength="9999" value="">), but if there was a check on whether the element is a pulldown list/any other type of element not getting highlighted, their styling could be processed separately.