Skip to content

Comments

Builder field properties improvements#30

Merged
ladparth merged 4 commits intomainfrom
feat/builder-field-properties-improvements
Feb 5, 2026
Merged

Builder field properties improvements#30
ladparth merged 4 commits intomainfrom
feat/builder-field-properties-improvements

Conversation

@ladparth
Copy link
Contributor

@ladparth ladparth commented Feb 5, 2026

Key Changes

1. Builder Field Enhancements

  • Added support for configuring default values for Radio fields within the builder
  • Added support for configuring default values for Select fields
  • Implemented default value settings for Switch fields to ensure predictable initial states

2. UI and Documentation

  • Enhanced the drag overlay visual feedback for a smoother drag-and-drop experience
  • Implemented automated documentation generation for builder components and configurations

- Implement sanitizeFieldDefaults to keep field defaults in sync with available options
- Add defaultValue property editor to radio field configuration
- Automatically validate and clear invalid default values in builder store when fields are updated
- Set initial default value for radio fields in builder registry
- Implement DefaultValueSelect component to provide a dynamic selection of default values based on field options
- Add defaultValue property editor to select field configuration with support for multi-select (hasMany)
- Define selectDefaultValueSchema for robust validation of primitive and array-based defaults
- Upgrade zod to v4.0.0 and update pnpm lockfile
- Update builder registry to include initial false defaultValue for switch fields
- Redesign DragOverlayItem with increased min-width and "Esc to cancel" hint for sidebar drags
- Improve drag overlay visual feedback with keyboard hint for canceling actions
@ladparth ladparth self-assigned this Feb 5, 2026
@ladparth ladparth added bug Something isn't working enhancement New feature or request labels Feb 5, 2026
@vercel
Copy link

vercel bot commented Feb 5, 2026

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

Project Deployment Actions Updated (UTC)
buzzform Ready Ready Preview, Comment Feb 5, 2026 2:41pm

@ladparth ladparth merged commit aa4b951 into main Feb 5, 2026
3 checks passed
@ladparth ladparth deleted the feat/builder-field-properties-improvements branch February 5, 2026 14:43
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

Development

Successfully merging this pull request may close these issues.

1 participant