ValidationResult
Defined in: src/widgets/controls/validation.ts:8
Normalized result of validating a single field.
Properties
Section titled “Properties”message?
Section titled “message?”
optionalmessage?:string
Defined in: src/widgets/controls/validation.ts:12
Message to show when invalid (or for a success/warning note).
severity?
Section titled “severity?”
optionalseverity?:Severity
Defined in: src/widgets/controls/validation.ts:14
Severity driving the control’s color (defaults to "error" when invalid).
valid:
boolean
Defined in: src/widgets/controls/validation.ts:10
Whether the value passed.