threshold

This commit is contained in:
naveen prabhu 2026-05-07 17:19:58 +05:30
parent 9268f6144a
commit dcba8f2e24
2 changed files with 4 additions and 2 deletions

View File

@ -1150,7 +1150,7 @@ setAdditionalForecastMonths([
onChange={(e) => setQuantityThreshold(e.target.value)}
className="border border-[#D1D5DB] rounded-md px-3 py-1 text-sm "
>
<option value="">10% Quantity</option>
<option value="">Quantity</option>
<option value="5">5%</option>
<option value="10">10%</option>
<option value="15">15%</option>
@ -1172,7 +1172,7 @@ setAdditionalForecastMonths([
onChange={(e) => setValueThreshold(e.target.value)}
className="border border-[#D1D5DB] rounded-md px-3 py-1 text-sm "
>
<option value="">10% Value</option>
<option value="">Value</option>
<option value="5">5%</option>
<option value="10">10%</option>
<option value="15">15%</option>

View File

@ -1637,12 +1637,14 @@ const handleExportCSV = () => {
<input
type="text"
inputMode="decimal"
pattern="^\d{1,2}\.\d{1,10}$"
value={form.weight || ''}
onChange={handleFormChange("weight")}
disabled={modalMode === "view"}
className="w-full px-3 py-2 text-sm border border-[#CBA344] rounded-md focus:outline-none focus:ring-1 focus:ring-[#92722A] focus:border-[#92722A]"
placeholder="e.g. 12.1234567890"
maxLength={13}
title="Enter up to 2 digits before the decimal and up to 10 digits after it"
/>
</div>
</div>