mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Checkout UX: Open number keyboard on iOS
Thanks to @breunigs for the suggestion
This commit is contained in:
@@ -298,6 +298,7 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<input type="number" class="form-control input-item-count" placeholder="0" min="0"
|
<input type="number" class="form-control input-item-count" placeholder="0" min="0"
|
||||||
max="{{ var.order_max }}"
|
max="{{ var.order_max }}"
|
||||||
|
pattern="\d*"
|
||||||
name="variation_{{ item.id }}_{{ var.id }}">
|
name="variation_{{ item.id }}_{{ var.id }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
@@ -384,6 +385,7 @@
|
|||||||
</label>
|
</label>
|
||||||
{% else %}
|
{% else %}
|
||||||
<input type="number" class="form-control input-item-count" placeholder="0" min="0"
|
<input type="number" class="form-control input-item-count" placeholder="0" min="0"
|
||||||
|
pattern="\d*"
|
||||||
max="{{ item.order_max }}" name="item_{{ item.id }}">
|
max="{{ item.order_max }}" name="item_{{ item.id }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -113,6 +113,7 @@
|
|||||||
<label>
|
<label>
|
||||||
{% if max_times > 1 %}
|
{% if max_times > 1 %}
|
||||||
<input type="number" class="form-control input-item-count" placeholder="0" min="0"
|
<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 }}">
|
max="{{ item.order_max }}" name="variation_{{ item.id }}_{{ var.id }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<input type="radio" name="_voucher_item"
|
<input type="radio" name="_voucher_item"
|
||||||
@@ -182,6 +183,7 @@
|
|||||||
<label>
|
<label>
|
||||||
{% if max_times > 1 %}
|
{% if max_times > 1 %}
|
||||||
<input type="number" class="form-control input-item-count" placeholder="0" min="0"
|
<input type="number" class="form-control input-item-count" placeholder="0" min="0"
|
||||||
|
pattern="\d*"
|
||||||
max="{{ item.order_max }}" name="item_{{ item.id }}">
|
max="{{ item.order_max }}" name="item_{{ item.id }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<input type="radio" name="_voucher_item"
|
<input type="radio" name="_voucher_item"
|
||||||
|
|||||||
Reference in New Issue
Block a user