Remove the "comma" number separator from the Id field

The better solution is to use the webpack feature like so:

1- Rename webpack.config.example.js to webpack.config.js in the src/admin/ folder.
2- Add the following to it:

'use strict';

/* eslint-disable no-unused-vars */
module.exports = (config, webpack) => {
  // Replace Built-in NumberInput to remove comma
  config.plugins.push(new webpack.NormalModuleReplacementPlugin(/.*design-system\/dist\/NumberInput\/NumberInput\.mjs$/, `${__dirname}/webpack/CustomNumberInput.mjs`));
  return config;
};

2- Copy the file ./node_modules/@strapi/design-system/dist/NumberInput/NumberInput.mjs to src/admin/webpack/ as CustomNumberInput.mjs
4- Change the lines as described above

1 Like