Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Sep 8, 2025

This commit introduces a comprehensive set of 18 examples for the new signal-based forms functionality in Angular. These examples are designed to be used with the find_examples tool (MCP) to provide developers with actionable, real-world code snippets covering a wide range of use cases.

The find_examples tool is currently experimental and must be enabled using the -E find_examples option when running the ng mcp command.

The examples cover the following key concepts:

  • Core concepts and basic setup
  • Built-in and cross-field validation
  • Dynamic and conditional form structures
  • Custom form controls and reusable validators
  • Asynchronous operations and third-party integrations (Zod)
  • Best practices for testing, accessibility, and styling

@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: @angular/cli labels Sep 8, 2025
@clydin clydin force-pushed the mcp/signal-form-examples branch 2 times, most recently from 93f4632 to 0c84e42 Compare September 8, 2025 13:55
@clydin clydin added the target: major This PR is targeted for the next major release label Sep 8, 2025
@clydin clydin force-pushed the mcp/signal-form-examples branch 3 times, most recently from dd1d83d to 3653ee5 Compare September 8, 2025 23:10
@clydin clydin requested a review from mmalerba September 9, 2025 12:10
This commit introduces a comprehensive set of 18 examples for the new signal-based forms functionality in Angular. These examples are designed to be used with the `find_examples` tool (MCP) to provide developers with actionable, real-world code snippets covering a wide range of use cases.

The `find_examples` tool is currently experimental and must be enabled using the `-E find_examples` option when running the `ng mcp` command.

The examples cover the following key concepts:
- Core concepts and basic setup
- Built-in and cross-field validation
- Dynamic and conditional form structures
- Custom form controls and reusable validators
- Asynchronous operations and third-party integrations (Zod)
- Best practices for testing, accessibility, and styling
@clydin clydin force-pushed the mcp/signal-form-examples branch from 3653ee5 to 190a3a0 Compare September 11, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: @angular/cli detected: feature PR contains a feature commit target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant