From 50798d118986ccd18e1504129773ca40e63abd68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frane=20Poli=C4=87?= <16856471+fPolic@users.noreply.github.com> Date: Mon, 28 Aug 2023 16:58:34 +0200 Subject: [PATCH] fix(admin-ui): currency input exception (#4888) * fix: infer cell formatting * chore: changeset * Update friendly-months-attack.md --------- Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com> --- .changeset/friendly-months-attack.md | 6 ++++++ .../edit-prices-modal/currency-cell.tsx | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/friendly-months-attack.md diff --git a/.changeset/friendly-months-attack.md b/.changeset/friendly-months-attack.md new file mode 100644 index 0000000000..19740ce181 --- /dev/null +++ b/.changeset/friendly-months-attack.md @@ -0,0 +1,6 @@ +--- +"@medusajs/admin-ui": patch +"@medusajs/admin": patch +--- + +fix(admin-ui): bulk editor cell separators diff --git a/packages/admin-ui/ui/src/components/organisms/product-variants-section/edit-prices-modal/currency-cell.tsx b/packages/admin-ui/ui/src/components/organisms/product-variants-section/edit-prices-modal/currency-cell.tsx index 0cfbdc962f..2d9fc5cd56 100644 --- a/packages/admin-ui/ui/src/components/organisms/product-variants-section/edit-prices-modal/currency-cell.tsx +++ b/packages/admin-ui/ui/src/components/organisms/product-variants-section/edit-prices-modal/currency-cell.tsx @@ -226,7 +226,6 @@ function CurrencyCell(props: CurrencyCellProps) { customInput={isEditable ? currencyInput : currencySpan} allowNegativeValue={false} value={localValue.value} - decimalSeparator="." placeholder="-" /> {isRangeEnd && props.isRangeEndCol && !isEditable && (