-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
In some cases forms need soft validation, where a warning message is shown, but the field is still valid.
This should be considered as part of #1
And puts forward a case for each field to have an array of validation items. Where each item has a validation status and an associated message.
type ValidationInfo = {
status: 'VALID' | 'INVALID' | 'LOADING' | 'WARN',
message: string
};
type DataPath = string;
type FormValidationInfo = {
[key:DataPath]:ValidationInfo
}Metadata
Metadata
Assignees
Labels
No labels