Bug 30618 - Important and mandatory select fields not highlighted on additem.pl
Summary: Important and mandatory select fields not highlighted on additem.pl
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-26 07:46 UTC by Emmi Takkinen
Modified: 2023-12-01 12:21 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.