Checkout UX: Open number keyboard on iOS

Thanks to @breunigs for the suggestion
This commit is contained in:
Raphael Michel
2017-12-11 15:20:06 +01:00
parent 759db2d20e
commit 3ec0366c21
2 changed files with 4 additions and 0 deletions

View File

@@ -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>

View File

@@ -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"