fix(ui): number keyboard on phones for every weight, amount and percentage field
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
c3dc596170
commit
2656fb8328
7 files changed
+16
No files matched your search
@@ -200,6 +200,7 @@ function BottlingEditForm({
|
||||
<Input
|
||||
id="bottling-edit-jar-size"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
min="1"
|
||||
required
|
||||
value={jarSize}
|
||||
@@ -211,6 +212,7 @@ function BottlingEditForm({
|
||||
<Input
|
||||
id="bottling-edit-jar-count"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
min="1"
|
||||
required
|
||||
value={jarCount}
|
||||
|
||||
@@ -95,6 +95,7 @@ export function ExtractionEditDialog({ extraction }: { extraction: Extraction })
|
||||
<Input
|
||||
id="extraction-edit-amount"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
min={0}
|
||||
value={amount}
|
||||
onChange={(event) => setAmount(event.target.value)}
|
||||
@@ -115,6 +116,7 @@ export function ExtractionEditDialog({ extraction }: { extraction: Extraction })
|
||||
<Input
|
||||
id="extraction-edit-water"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
min={0}
|
||||
max={100}
|
||||
value={waterContent}
|
||||
@@ -126,6 +128,7 @@ export function ExtractionEditDialog({ extraction }: { extraction: Extraction })
|
||||
<Input
|
||||
id="extraction-edit-temperature"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
value={temperature}
|
||||
onChange={(event) => setTemperature(event.target.value)}
|
||||
/>
|
||||
|
||||
@@ -176,6 +176,7 @@ export function HarvestEditDialog({ harvest }: { harvest: Harvest }) {
|
||||
<Input
|
||||
id="harvest-edit-gross-weight"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
min={0}
|
||||
value={grossWeight}
|
||||
onChange={(event) => setGrossWeight(event.target.value)}
|
||||
@@ -186,6 +187,7 @@ export function HarvestEditDialog({ harvest }: { harvest: Harvest }) {
|
||||
<Input
|
||||
id="harvest-edit-weight"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
min={0}
|
||||
value={netWeight}
|
||||
onChange={(event) => setNetWeight(event.target.value)}
|
||||
@@ -196,6 +198,7 @@ export function HarvestEditDialog({ harvest }: { harvest: Harvest }) {
|
||||
<Input
|
||||
id="harvest-edit-supers"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
min={0}
|
||||
value={honeySuperCount}
|
||||
onChange={(event) => setHoneySuperCount(event.target.value)}
|
||||
|
||||
@@ -82,6 +82,7 @@ function EditMeasurementForm({
|
||||
<Input
|
||||
id="measurement-edit-water"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
step="0.1"
|
||||
min={0}
|
||||
max={100}
|
||||
@@ -114,6 +115,7 @@ function EditMeasurementForm({
|
||||
<Input
|
||||
id="measurement-edit-temp"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
value={temperature}
|
||||
onChange={(event) => setTemperature(event.target.value)}
|
||||
/>
|
||||
|
||||
@@ -94,6 +94,7 @@ function ExtractionEditForm({
|
||||
<Input
|
||||
id="extraction-edit-amount"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
min={0}
|
||||
value={amount}
|
||||
onChange={(event) => setAmount(event.target.value)}
|
||||
@@ -113,6 +114,7 @@ function ExtractionEditForm({
|
||||
<Input
|
||||
id="extraction-edit-water"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
step="0.1"
|
||||
min={0}
|
||||
max={100}
|
||||
@@ -125,6 +127,7 @@ function ExtractionEditForm({
|
||||
<Input
|
||||
id="extraction-edit-temp"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
value={temperature}
|
||||
onChange={(event) => setTemperature(event.target.value)}
|
||||
/>
|
||||
|
||||
@@ -184,6 +184,7 @@ export function HoneyBatchEditDialog({ honeyBatch }: { honeyBatch: HoneyBatch })
|
||||
<Input
|
||||
id="batch-edit-water"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
step="0.1"
|
||||
min={0}
|
||||
max={100}
|
||||
|
||||
@@ -106,6 +106,7 @@ export function EditProductDialog({ product }: { product: Product }) {
|
||||
<Input
|
||||
id="product-edit-packaging-size"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
step="0.01"
|
||||
value={packagingSize}
|
||||
onChange={(event) => setPackagingSize(event.target.value)}
|
||||
@@ -116,6 +117,7 @@ export function EditProductDialog({ product }: { product: Product }) {
|
||||
<Input
|
||||
id="product-edit-weight"
|
||||
type="number"
|
||||
inputMode="decimal"
|
||||
step="0.01"
|
||||
value={weight}
|
||||
onChange={(event) => setWeight(event.target.value)}
|
||||
|
||||
Reference in new issue
Block a user