CustomValidity

Set this value to a non-empty string to mark the control as an invalid value with the specified string as an error message. Set the value to zero or an empty string to mark the control as a valid value.

Schema: tchmi:general#/definitions/String

Attribute getter

public getCustomValidity(): string | null | undefined;

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

string, null, undefined

The current value of the attribute.

Attribute setter

public setCustomValidity(valueNew: string | null): void;

Parameter

Name

Type

Description

valueNew

string, null

The new value of the attribute. If null is passed, the internal default value is used.

Return value

Type

Description

void

No return value.

CustomValidity 1:

Available since version 1.12.760