Spec-Zone.ru › Angular

FormOptions

Options that may be specified when creating a form.

API

interface FormOptions<TModel> {
  injector?: Injector | undefined;
  name?: string | undefined;
  experimentalWebMcpTool?: { name: string; description: string; } | undefined;
  submission?: FormSubmitOptions<TModel, unknown> | undefined;
}

injector

Injector | undefined

The injector to use for dependency injection. If this is not provided, the injector for the current injection context, will be used.

name

string | undefined

The name of the root form, used in generating name attributes for the fields.

experimentalWebMcpTool

{ name: string; description: string; } | undefined
@experimental

Configuration options to expose this form as an experimental WebMCP AI agent tool.

submission

FormSubmitOptions<TModel, unknown> | undefined

Options that define how to handle form submission.

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/forms/signals/FormOptions

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API