[Koha-bugs] [Bug 27297] When itemtype is marked as required in OpacSuggestion MandatoryFields the field is not required

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 11 13:51:00 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27297

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #114737|0                           |1
        is obsolete|                            |

--- Comment #4 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 115020
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115020&action=edit
Bug 27297: Add required and blank options to av-build-dropbox.inc

This patch adds two options to av-build-drobx
required - which will add the required attribute to the select
blank - which will add a blank option to avoid preselecting others

To test:
1 - In OpacSuggestionMandatoryFeilds select itemtype
2 - Go to OPAC
3 - Add a suggestion
4 - Don't fill out any fields
5 - Submit
6 - Suggestion is added
7 - Delete it
8 - Apply patch
9 - Add a suggestion
10 - Note itemtyp edefaults to 'None'
11 - You cannot submit until you select a value

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list