Comment 1 for bug 1361801

Revision history for this message
Remington Steed (rjs7) wrote :

The quick fix is to add a "requiredFields" parameter to the issuance.tt2 autogrid as follows:

- requiredFields="['date_published','holding_code']"

This prevents the form from being saved until you fill in the required fields (which fixes the error message on predicting new issuances). However, it doesn't provide any indication that those fields are required, even when you try to submit an empty form. It simply does nothing until you fill in all the required fields. So I'm providing a branch with the above addition, but I will also open a bug for the necessary UI changes to make our dojo forms more usable.

Here is my branch:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/rsteed/serial_issuance_required_fields