fix(admin-ui): Prevent comma decimal separator from converting inputs to NaN (#5566)

**What**
- Using the Price List bulk editor with a locale that uses comma as the decimal separator would convert decimal numbers to NaN. This PR fixes that by replacing commas with dots, before passing the values on to the state manager.

Closes #5565
This commit is contained in:
Kasper Fabricius Kristensen authored and GitHub committed 2023-11-06 13:26:35 +00:00
1 parent 0c9216c225
commit d7e1887221
2 files changed
+9 -4

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/admin-ui": patch
---
fix(admin-ui): Fixes an issue where using the bulk editor with comma as the decimal separator would convert the input to NaN