Skip to content

Comments

feat: implement checkbox-group field type#31

Merged
ladparth merged 4 commits intomainfrom
feat/checkbox-group-field
Feb 7, 2026
Merged

feat: implement checkbox-group field type#31
ladparth merged 4 commits intomainfrom
feat/checkbox-group-field

Conversation

@ladparth
Copy link
Contributor

@ladparth ladparth commented Feb 7, 2026

Key Changes

1. New CheckboxGroupField Component

  • Introduced the CheckboxGroupField component, allowing users to select multiple options stored as an array.
  • Implemented a dedicated rendering logic for the group and its associated skeleton component.
  • Registered the new component in registry.json and starter.json for easy installation via the CLI.
  • Integrated necessary dependencies to support the checkbox group infrastructure.

2. Enhanced Selection Validation

  • Added support for minSelected and maxSelected properties to both SelectField and CheckboxGroupField.
  • Improved rendering logic to enforce and handle maximum selection constraints in multi-select scenarios.
  • Updated the selection engine to provide better feedback when users reach selection limits.

3. Documentation and Examples

  • Added comprehensive documentation for the checkbox-group field type.
  • Included details on the expected data shape (arrays), available properties, and common usage patterns.
  • Provided live examples demonstrating multi-select functionality and validation constraints.

4. Package and Registry Updates

  • Updated the core package to support the checkbox-group field type and its schema validation.
  • Enhanced select.json to include support for checkbox-group integrations.
  • Streamlined the registry metadata to ensure clean dependency resolution for the new field type.

- Introduced a new `checkbox-group` field type that allows users to select multiple options stored as an array.
- Updated documentation to include usage examples, data shape, and properties for the new field type.
- Enhanced the field registry to register the new `checkbox-group` field and its skeleton component.
- Modified existing `select` field to support `minSelected` and `maxSelected` properties for better validation.
- Improved rendering logic to handle maximum selection limits in both `select` and `checkbox-group` fields.
- Introduced a new component "checkbox-group" in the registry.json and starter.json files.
- Updated select.json to include support for checkbox-group in the SelectField component.
- Enhanced SelectField to handle max selection constraints for multi-select options.
- Added necessary dependencies for the new checkbox-group component.
@ladparth ladparth self-assigned this Feb 7, 2026
@ladparth ladparth added the enhancement New feature or request label Feb 7, 2026
@vercel
Copy link

vercel bot commented Feb 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
buzzform Ready Ready Preview, Comment Feb 7, 2026 0:51am

@ladparth ladparth merged commit f069a37 into main Feb 7, 2026
3 checks passed
@ladparth ladparth deleted the feat/checkbox-group-field branch February 7, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant