Indicate a field is *required in a collection

I want to have the * for the required field? I tried this by adding a new file at extensions/strapi-plugin-content-manager/admin/src/components/Inputs/index.js and copy the content from the node_modules/strapi-plugin-content-manager/admin/src/components/Inputs/index.js. Make below changes in the code:-

const label = isRequired ? ${metadatas.label}* : metadatas.label;
const newMetadatas = Object.assign({}, metadatas, { label });
return (
<InputsIndex
{…newMetadatas}
autoComplete=“new-password”
autoFocus={autoFocus}

But its not working. When I make the same changes in file located inside node_module, it works fine. Can you suggest what’s wrong.