Skip to content

Document the chip variant of the Checkbox template (8.0) - #990

Open
promptless-for-oss wants to merge 2 commits into
mautic:8.0from
Promptless:promptless/pr-18402-checkbox-chip-8.0
Open

promptless-for-oss wants to merge 2 commits into
mautic:8.0from
Promptless:promptless/pr-18402-checkbox-chip-8.0

Conversation

@promptless-for-oss

@promptless-for-oss promptless-for-oss commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Open in Promptless

Description

mautic/mautic#18402 adds a chip variant to the Checkbox Component, so the Checkbox template page now covers it.

The Template options table on design_templates/checkbox.rst now lists two options:

  • variant: setting it to chip shows each checkbox as an outlined pill that fills in when checked, as in the note type filter on a Contact's Notes tab. The row names the CSS classes the variant adds and says that selecting anywhere on a pill toggles its checkbox.
  • size: sets the pill height for the chip variant to xs, sm, md (the default), or lg, and names the form-check--chip-{size} class it adds. Add chip variant to checkbox component mautic#18402 added this option in commits after this PR was first opened.

mautic/mautic#18402 is now merged into 7.x. Mautic merges 7.x changes forward to 8.x, so this 8.0 page documents the same options.

Validation
  • ✓ Vale (collection config and Promptless defaults): no new findings in the changed file
  • ✓ Sphinx HTML build with docs/requirements.txt: the page builds and shows both rows; no warnings for this page

Linked issue

Related to mautic/mautic#18402

Trigger Events

Comment thread docs/design_templates/checkbox.rst Resolved
@promptless-for-oss

promptless-for-oss commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor Author

The build check failure on commit 6fcca24 doesn't come from this suggestion. The link check failed because https://community.mautic.org/assemblies/product-team, linked from docs/index.rst, returns a 500 Server Error from the community site. This PR only changes docs/design_templates/checkbox.rst, which built without errors.

The check will keep failing until community.mautic.org recovers. After that, re-running the check should clear it. No docs change is needed.

@promptless-for-oss
promptless-for-oss marked this pull request as ready for review December 1, 2026 19:12
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.

1 participant