aboutsummaryrefslogtreecommitdiff
path: root/admin/src/components/CheckboxListInput.tsx
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-02-05 15:39:14 +0300
committerValentin Popov <valentin@popov.link>2026-02-05 15:39:14 +0300
commitb9bd07c53d8c624f14f9b7da71ff1e4de099a029 (patch)
treec3e8aa960c42ae84265837af14c16bdfd5328381 /admin/src/components/CheckboxListInput.tsx
parent7fe5502dc173cfee7c3b3178fb233264ad7c6dc3 (diff)
downloadstrapi-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 'admin/src/components/CheckboxListInput.tsx')
-rw-r--r--admin/src/components/CheckboxListInput.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/src/components/CheckboxListInput.tsx b/admin/src/components/CheckboxListInput.tsx
index 6da9766..51a0d22 100644
--- a/admin/src/components/CheckboxListInput.tsx
+++ b/admin/src/components/CheckboxListInput.tsx
@@ -82,7 +82,7 @@ const CheckboxListInput = ({
<Field.Root name={name} hint={hint} error={error} required={required}>
<Field.Label action={labelAction}>{label ?? name}</Field.Label>
{enumValues.length > 0 ? (
- <Flex direction="column" gap={2} paddingTop={1}>
+ <Flex direction="column" gap={2} paddingTop={1} alignItems="flex-start">
{enumValues.map((option) => (
<Checkbox
key={option}