Skip to content

Conversation

@sgordon16
Copy link
Contributor

Summary

  • Added support for the size parameter in RadioSelectButtonGroup widget
  • When using bootstrap_field or bootstrap_form with size="sm" or size="lg", the button labels now correctly receive the btn-sm or btn-lg Bootstrap classes
  • Added tests for all size variants (sm, md, lg)

Fixes #788

Test plan

  • Run test_select_size_sm - verifies btn-sm class is applied
  • Run test_select_size_lg - verifies btn-lg class is applied
  • Run test_select_size_md - verifies no extra class for default size
  • Existing RadioSelectButtonGroup tests still pass

🤖 Generated with Claude Code

The RadioSelectButtonGroup component now respects the size parameter
passed to bootstrap_field and bootstrap_form template tags, applying
btn-sm or btn-lg classes to the button labels as appropriate.

Fixes zostera#788

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@sgordon16 sgordon16 force-pushed the radio-btn-group-size branch from 56d3786 to 8c83a3b Compare December 10, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RadioSelectButtonGroup should adjust size based on size argument

1 participant