Files
strapi-plugin-checkbox-list/server/src/register.ts
Valentin Popov b9bd07c53d Refactor checkbox-list custom field implementation
- Replaced the PluginIcon with EnumerationField in the custom field registration.
- Introduced CheckboxListDefaultInput component for handling checkbox list inputs.
- Updated the admin interface to include new settings for the checkbox-list custom field.
- Enhanced server-side registration to support resizable input size for the checkbox-list.
2026-02-05 12:39:14 +00:00

17 lines
334 B
TypeScript

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',
inputSize: {
default: 6,
isResizable: true,
},
});
};
export default register;