Bug 36775: (QA follow-up) Remove max_length attribute
The existing code for "Holds to place (count)" sets the input field's maxlength to remaining_holds_for_record, which does not do what we want and makes the field unusable when the circulation rules allow unlimited holds. Better to remove it. Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
c345e68769
commit
95d68c6bbd
|
|
@ -667,7 +667,7 @@
|
|||
[% UNLESS remaining_holds_for_record == 1 %]
|
||||
<li>
|
||||
<label for="holds_to_place_count">Holds to place (count)</label>
|
||||
<input type="text" inputmode="numeric" pattern="[0-9]*" id="holds_to_place_count" name="holds_to_place_count" maxlength="[% remaining_holds_for_record | html %]" value="1" />
|
||||
<input type="text" inputmode="numeric" pattern="[0-9]*" id="holds_to_place_count" name="holds_to_place_count" value="1" />
|
||||
</li>
|
||||
[% ELSE %]
|
||||
<input type="hidden" name="holds_to_place_count" value="1" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue