error

Gets or sets whether or not the text field is in a visually invalid state. This error state overrides the error state controlled by reportValidity.