@serenity-is/corelib / ValidatableElement
Interface: ValidatableElement
Defined in: src/base/validator.tsx:20
An HTMLElement that can be validated (input, select, textarea, or [contenteditable]).
Extends HTMLElement with form-associated properties used by the validation engine.
Extends
HTMLElement
Properties
form?
optionalform:HTMLFormElement
Defined in: src/base/validator.tsx:22
Owning form element, if associated.
name?
optionalname:string
Defined in: src/base/validator.tsx:24
Field name used as the validation key.
type?
optionaltype:string
Defined in: src/base/validator.tsx:26
Input type (e.g. "text", "checkbox", "radio").
value?
optionalvalue:string
Defined in: src/base/validator.tsx:28
Current string value of the element.