Provide messaging or actions to dispatch based on the lifecycle of the instance being validated
Members
object
# Invalid
isValid === false
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
Message |
string |
<optional> |
Message to display if invalid |
CB |
Array.<ValidationCB.<T>> |
<optional> |
Actions to fire if invalid |
object
# Valid
isValid === true
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
Message |
string |
<optional> |
Message to display if valid |
CB |
Array.<ValidationCB.<T>> |
<optional> |
Actions to fire if valid |