Add checkbox-list custom field plugin to Strapi
- Introduced a new custom field type 'checkbox-list' with associated input component. - Updated package.json to reflect the new plugin name. - Added necessary server-side files for plugin registration, including bootstrap, destroy, and service methods. - Updated package-lock.json to include new dependencies and versions. - Enhanced admin interface with custom field registration and input handling.
This commit is contained in:
@@ -2,6 +2,11 @@ import type { Core } from '@strapi/strapi';
|
||||
|
||||
const register = ({ strapi }: { strapi: Core.Strapi }) => {
|
||||
// register phase
|
||||
strapi.customFields.register({
|
||||
name: 'checkbox-list',
|
||||
plugin: 'checkbox-list',
|
||||
type: 'json',
|
||||
});
|
||||
};
|
||||
|
||||
export default register;
|
||||
|
||||
Reference in New Issue
Block a user