aboutsummaryrefslogtreecommitdiff
path: root/packages/merchant-backoffice-ui
diff options
context:
space:
mode:
authorNullptrderef <nullptrderef@proton.me>2024-08-20 11:15:40 +0200
committerNullptrderef <nullptrderef@proton.me>2024-08-20 11:15:40 +0200
commit02fadc83b997e4f5175d0dcd91ab925cebb08f47 (patch)
treed2bb86cdbf3c412dad0605800c23109aa75b076d /packages/merchant-backoffice-ui
parent2d1bbd7c7d868a3eff8c77ee6f742f2357da0dcc (diff)
fix: set extremely low step
Diffstat (limited to 'packages/merchant-backoffice-ui')
-rw-r--r--packages/merchant-backoffice-ui/src/components/form/InputCurrency.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/merchant-backoffice-ui/src/components/form/InputCurrency.tsx b/packages/merchant-backoffice-ui/src/components/form/InputCurrency.tsx
index 11396b88e..ffd3bfd16 100644
--- a/packages/merchant-backoffice-ui/src/components/form/InputCurrency.tsx
+++ b/packages/merchant-backoffice-ui/src/components/form/InputCurrency.tsx
@@ -60,7 +60,7 @@ export function InputCurrency<T>({
expand={expand}
toStr={(v?: AmountString) => v?.split(":")[1] || ""}
fromStr={(v: string) => (!v ? undefined : `${config.currency}:${v}`)}
- inputExtra={{ min: 0 }}
+ inputExtra={{ min: 0, step: 0.001 }}
>
{children}
</InputWithAddon>