Spec-Zone.ru › Angular

emailError

Create an email format error associated with the target field

API

function emailError(
  options: WithFieldTree<ValidationErrorOptions>,
): EmailValidationError;
function emailError(
  options?: ValidationErrorOptions | undefined,
): WithoutFieldTree<EmailValidationError>;
function emailError(options: WithFieldTree<ValidationErrorOptions>): EmailValidationError;

Create an email format error associated with the target field

@paramoptionsWithFieldTree<ValidationErrorOptions>

The validation error options

@returnsEmailValidationError
function emailError(options?: ValidationErrorOptions | undefined): WithoutFieldTree<EmailValidationError>;

Create an email format error

@paramoptionsValidationErrorOptions | undefined

The optional validation error options

@returnsWithoutFieldTree<EmailValidationError>

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/emailError

Spec-Zone.ru

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