Setting.setErrorMessage method
Setting › setErrorMessage
Official
Show a persistent validation error message below the setting. Pass an empty string ornull to clear it. Adds the is-invalid class to the setting row when a message is present. Signature:
setErrorMessage(message: string | null): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| message | string | null |
Returns: this
Since: 1.13.0