mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Ensure POS/Crowdfund price input fields bring up numpad on mobile (#982)
fix #680
This commit is contained in:
parent
13f2be7811
commit
a571f77a40
2 changed files with 14 additions and 3 deletions
|
@ -246,7 +246,13 @@
|
|||
</div>
|
||||
<div class="col-sm-3">
|
||||
<label>Price</label>*
|
||||
<input type="number" step="any" class="js-product-price form-control mb-2" value="{price}" />
|
||||
<input
|
||||
class="js-product-price form-control mb-2"
|
||||
inputmode="numeric"
|
||||
pattern="\d*"
|
||||
step="any"
|
||||
type="number"
|
||||
value="{price}" />
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<label>Custom price</label>
|
||||
|
|
|
@ -251,7 +251,12 @@
|
|||
</div>
|
||||
<div class="col-sm-3">
|
||||
<label>Price</label>*
|
||||
<input type="number" class="js-product-price form-control mb-2" value="{price}" />
|
||||
<input
|
||||
class="js-product-price form-control mb-2"
|
||||
inputmode="numeric"
|
||||
pattern="\d*"
|
||||
type="number"
|
||||
value="{price}" />
|
||||
</div>
|
||||
<div class="col-sm-3">
|
||||
<label>Custom price</label>
|
||||
|
@ -274,7 +279,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
|
||||
<bundle name="wwwroot/bundles/pos-admin-bundle.min.js"></bundle>
|
||||
<bundle name="wwwroot/bundles/pos-admin-bundle.min.css"></bundle>
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue