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:
1 parent
0c9216c225
commit
d7e1887221
2 files changed
+9
-4
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user