From d3359f4c55f238a1fdd6fee8134a611560f5f2af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Pobo=C5=99il?= Date: Mon, 14 Apr 2025 08:08:12 +0200 Subject: [PATCH] =?UTF-8?q?Added=20inputmode=3D"decimal=E2=80=9C=20to=20PO?= =?UTF-8?q?S=20Cart=20app=20(#6673)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So the iOS will show numpad for this fields. --- BTCPayServer/Views/Shared/PointOfSale/Public/Cart.cshtml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/BTCPayServer/Views/Shared/PointOfSale/Public/Cart.cshtml b/BTCPayServer/Views/Shared/PointOfSale/Public/Cart.cshtml index 1d05b9720..233b19186 100644 --- a/BTCPayServer/Views/Shared/PointOfSale/Public/Cart.cshtml +++ b/BTCPayServer/Views/Shared/PointOfSale/Public/Cart.cshtml @@ -120,7 +120,7 @@ {
@Model.CurrencySymbol - +
} - + @@ -192,7 +192,7 @@ Discount
- + %
@@ -207,6 +207,7 @@ class="form-control hide-number-spin shadow-none text-reset d-block bg-transparent border-0 p-0 me-1 fw-semibold" style="height:1.5em;min-height:auto;width:4ch" type="number" + inputmode="decimal" min="0" step="@Model.Step" /> @(Model.CurrencyInfo.CurrencySymbol ?? Model.CurrencyCode)