Skip to content

Button Group field type#16782

Merged
brandonkelly merged 9 commits into5.7from
feature/cms-1368-button-group-field-type
Feb 28, 2025
Merged

Button Group field type#16782
brandonkelly merged 9 commits into5.7from
feature/cms-1368-button-group-field-type

Conversation

@brandonkelly
Copy link
Copy Markdown
Member

@brandonkelly brandonkelly commented Feb 26, 2025

Description

Adds a new “Button Group” field type, which works like Radio Buttons and Dropdown fields technically, but displays a button group for its UI:

A button group field with three options.

There’s also an “Icons only” mode, which hides the text labels.

A button group field with three options, with text labels hidden.

Related issues

@linear
Copy link
Copy Markdown

linear Bot commented Feb 26, 2025

@brandonkelly brandonkelly force-pushed the feature/cms-1368-button-group-field-type branch from 492d0e9 to a58b9f1 Compare February 27, 2025 06:55
Copy link
Copy Markdown
Contributor

@gcamacho079 gcamacho079 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few small changes requested, otherwise looks great!

@brandonkelly brandonkelly merged commit 87c4a80 into 5.7 Feb 28, 2025
@brandonkelly brandonkelly deleted the feature/cms-1368-button-group-field-type branch February 28, 2025 19:07
@alexanderbuergin
Copy link
Copy Markdown

Love that one!!!

Can the Icon be added as SVG?

@brandonkelly
Copy link
Copy Markdown
Member Author

@alexanderbuergin you can pick from the same icons available to entry types.

@alexanderbuergin
Copy link
Copy Markdown

@brandonkelly Are there any plans to expand the set of icons? For example, by adding support for a custom icon font?

@brandonkelly
Copy link
Copy Markdown
Member Author

@alexanderbuergin Not currently, feel free to open a new discussion about it.

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.

3 participants