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 |
|---|---|
The current value of the attribute. |
Attribute setter
public setCustomValidity(valueNew: string | null): void;Parameter
Name | Type | Description |
|---|---|---|
valueNew | The new value of the attribute. If null is passed, the internal default value is used. |
Return value
Type | Description |
|---|---|
void | No return value. |
![]() | Available since version 1.12.760 |
