commit 02fadc83b997e4f5175d0dcd91ab925cebb08f47 parent 2d1bbd7c7d868a3eff8c77ee6f742f2357da0dcc Author: Nullptrderef <nullptrderef@proton.me> Date: Tue, 20 Aug 2024 11:15:40 +0200 fix: set extremely low step Diffstat:
| M | packages/merchant-backoffice-ui/src/components/form/InputCurrency.tsx | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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>