Skip to content

docs: add signal form example for button toggle - #33592

Merged
crisbeto merged 2 commits into
angular:mainfrom
msmallest:docs-signal-forms-button-toggle
Jul 31, 2026
Merged

docs: add signal form example for button toggle#33592
crisbeto merged 2 commits into
angular:mainfrom
msmallest:docs-signal-forms-button-toggle

Conversation

@msmallest

Copy link
Copy Markdown
Contributor

Description

To begin to address signal form documentation that I brought up in #32072 (comment).

Background

It was nice to see the stepper get signal form support and be paired with a new documentation example. Thank you. That inspired me to start rolling out examples for signal form examples. Provided this doc contribution works out, I have more examples that I plan to add via later PRs, in more convenient chunks to review.

@pullapprove
pullapprove Bot requested review from crisbeto and tjshiu July 29, 2026 05:01
@angular-robot angular-robot Bot added the area: docs Related to the documentation label Jul 29, 2026
@msmallest
msmallest force-pushed the docs-signal-forms-button-toggle branch from a171d20 to 8283c6a Compare July 29, 2026 05:04
@@ -25,8 +25,7 @@ be configured globally using the `MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS` injection t
<!-- example(button-toggle-appearance) -->

### Use with `@angular/forms`

@msmallest msmallest Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Should I be more specific and do something like:

### Use with `@angular/forms` and `@angular/forms/signals`

...or does the current state, the top level @angular/forms package superset, work fine?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe leave out the package name altogether: "Use with Angular Forms"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done, thank you

@msmallest
msmallest force-pushed the docs-signal-forms-button-toggle branch from b264aff to 08bd6d7 Compare July 29, 2026 14:36
@crisbeto crisbeto added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Jul 31, 2026
@crisbeto
crisbeto merged commit aa40684 into angular:main Jul 31, 2026
33 of 35 checks passed
@crisbeto

Copy link
Copy Markdown
Member

This PR was merged into the repository. The changes were merged into the following branches:

crisbeto pushed a commit that referenced this pull request Jul 31, 2026
* docs: add signal form example for button toggle

* docs: update copy related to forms for Button Toggle

(cherry picked from commit aa40684)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: docs Related to the documentation target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants