fix breakage of "tel" input on iOS/Safari
authorChris Sharp <csharp@georgialibraries.org>
Tue, 26 Oct 2021 20:02:57 +0000 (16:02 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 8 Nov 2021 15:01:29 +0000 (10:01 -0500)
Open-ILS/src/templates-bootstrap/opac/myopac/main_payment_form.tt2

index 3b17f18..ae2f13b 100755 (executable)
                 <tr>
                     <td><label for="paymenet-billing-zip">[% l('Postal Code') %]</label></td>
                     [% USE zip=String(ctx.user.billing_address.post_code) %]
-                    <td><input type="tel" pattern="[/^[0-9]{5}(-[0-9]{4})?$/]*" maxlength="10" size="10" name="billing_zip" id="payment-billing-zip"
+                    <td><input type="text" maxlength="10" size="10" name="billing_zip" id="payment-billing-zip"
                         value="[% zip.truncate(5)  %]" class="form-control"/></td>
                 </tr>
                </tbody>