Skip to content

ValidatorElement.setCustomValidity

ValidatorElement › setCustomValidity

Type: (error: string) => void

Sets a custom error message on the element.