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.
This commit is contained in:
@@ -6,6 +6,10 @@ const register = ({ strapi }) => {
|
||||
name: 'checkbox-list',
|
||||
plugin: 'checkbox-list',
|
||||
type: 'json',
|
||||
inputSize: {
|
||||
default: 6,
|
||||
isResizable: true,
|
||||
},
|
||||
});
|
||||
};
|
||||
exports.default = register;
|
||||
|
||||
@@ -6,6 +6,10 @@ const register = ({ strapi }: { strapi: Core.Strapi }) => {
|
||||
name: 'checkbox-list',
|
||||
plugin: 'checkbox-list',
|
||||
type: 'json',
|
||||
inputSize: {
|
||||
default: 6,
|
||||
isResizable: true,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user