diff options
| author | Valentin Popov <valentin@popov.link> | 2026-02-05 15:39:14 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-02-05 15:39:14 +0300 |
| commit | b9bd07c53d8c624f14f9b7da71ff1e4de099a029 (patch) | |
| tree | c3e8aa960c42ae84265837af14c16bdfd5328381 /server/src | |
| parent | 7fe5502dc173cfee7c3b3178fb233264ad7c6dc3 (diff) | |
| download | strapi-plugin-checkbox-list-b9bd07c53d8c624f14f9b7da71ff1e4de099a029.tar.xz strapi-plugin-checkbox-list-b9bd07c53d8c624f14f9b7da71ff1e4de099a029.zip | |
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.
Diffstat (limited to 'server/src')
| -rw-r--r-- | server/src/register.js | 4 | ||||
| -rw-r--r-- | server/src/register.ts | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/server/src/register.js b/server/src/register.js index 205846a..587f7c9 100644 --- a/server/src/register.js +++ b/server/src/register.js @@ -6,6 +6,10 @@ const register = ({ strapi }) => { name: 'checkbox-list', plugin: 'checkbox-list', type: 'json', + inputSize: { + default: 6, + isResizable: true, + }, }); }; exports.default = register; diff --git a/server/src/register.ts b/server/src/register.ts index 0d0bbd9..55f60c9 100644 --- a/server/src/register.ts +++ b/server/src/register.ts @@ -6,6 +6,10 @@ const register = ({ strapi }: { strapi: Core.Strapi }) => { name: 'checkbox-list', plugin: 'checkbox-list', type: 'json', + inputSize: { + default: 6, + isResizable: true, + }, }); }; |
