forked from CGM_Public/pretix_original
Checkout UX: Open number keyboard on iOS
Thanks to @breunigs for the suggestion
This commit is contained in:
@@ -298,6 +298,7 @@
|
||||
{% else %}
|
||||
<input type="number" class="form-control input-item-count" placeholder="0" min="0"
|
||||
max="{{ var.order_max }}"
|
||||
pattern="\d*"
|
||||
name="variation_{{ item.id }}_{{ var.id }}">
|
||||
{% endif %}
|
||||
</div>
|
||||
@@ -384,6 +385,7 @@
|
||||
</label>
|
||||
{% else %}
|
||||
<input type="number" class="form-control input-item-count" placeholder="0" min="0"
|
||||
pattern="\d*"
|
||||
max="{{ item.order_max }}" name="item_{{ item.id }}">
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@@ -113,6 +113,7 @@
|
||||
<label>
|
||||
{% if max_times > 1 %}
|
||||
<input type="number" class="form-control input-item-count" placeholder="0" min="0"
|
||||
pattern="\d*"
|
||||
max="{{ item.order_max }}" name="variation_{{ item.id }}_{{ var.id }}">
|
||||
{% else %}
|
||||
<input type="radio" name="_voucher_item"
|
||||
@@ -182,6 +183,7 @@
|
||||
<label>
|
||||
{% if max_times > 1 %}
|
||||
<input type="number" class="form-control input-item-count" placeholder="0" min="0"
|
||||
pattern="\d*"
|
||||
max="{{ item.order_max }}" name="item_{{ item.id }}">
|
||||
{% else %}
|
||||
<input type="radio" name="_voucher_item"
|
||||
|
||||
Reference in New Issue
Block a user