Skip to content

feat(reg): enhance radio and checkbox group components with flexible column support#69

Merged
ladparth merged 1 commit intomainfrom
fix/selection-field-columns
Feb 23, 2026
Merged

feat(reg): enhance radio and checkbox group components with flexible column support#69
ladparth merged 1 commit intomainfrom
fix/selection-field-columns

Conversation

@ladparth
Copy link
Copy Markdown
Contributor

Key Changes

  • Defaulted checkbox and switch schema values to false when missing to prevent Invalid value on submit.
  • Kept required: true behavior intact by still requiring true.
  • Updated radio and checkbox-group type definitions so ui.columns supports number | string | undefined (including "" for Auto).
  • Updated docs for radio and checkbox-group to document ui.columns: "" as the Auto option.

Related Issues:
closes #50
closes #63
closes #60
closes #55

…column support

- Updated OptionGroupColumns type to accept string and number for better flexibility.
- Modified getOptionGroupLayoutClassName function to handle horizontal layouts without specified columns.
- Improved layout handling in RadioField and CheckboxGroupField components for better responsiveness.
- Added default value handling in createCheckboxFieldSchema and createSwitchFieldSchema functions.
- Adjusted field type definitions to ensure consistency across various field types.
@ladparth ladparth self-assigned this Feb 23, 2026
@ladparth ladparth added bug Something isn't working enhancement New feature or request labels Feb 23, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 23, 2026

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

Project Deployment Actions Updated (UTC)
buzzform Ready Ready Preview, Comment Feb 23, 2026 10:43pm

@ladparth ladparth merged commit 48a2a15 into main Feb 23, 2026
3 checks passed
@ladparth ladparth deleted the fix/selection-field-columns branch February 23, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

1 participant