Indicate a field is *required in a collection

Hello @Meher_Chandan ,

To customize the content manager, you will need to rename the folder

extensions/strapi-plugins-content-manager

to

extensions/content-manager.

Do not forget to run in watch admin mode: yarn develop --watch-admin

Also, in the inputs/index.js file, you will have to replace:

const label = isRequired ? ${metadatas.label}* : metadatas.label;

by this line

const label = fieldSchema.required ? ${metadatas.label}* : metadatas.label;

Hope this helps

1 Like