diff --git a/assets/js/src/core/components/input-number/input-number.stories.tsx b/assets/js/src/core/components/input-number/input-number.stories.tsx index b83617d1b..4609db764 100644 --- a/assets/js/src/core/components/input-number/input-number.stories.tsx +++ b/assets/js/src/core/components/input-number/input-number.stories.tsx @@ -38,7 +38,7 @@ export const Disabled = { export const WithFormattedValue = { args: { - formatter: (value: any) => `$ ${value}`.replace(/\B(?=(\d{3})+(?!\d))/g, ','), + formatter: (value: any) => `$ ${value}`, value: 1000 } }