@netgrif/components-core
Version:
Netgrif Application engine frontend core Angular library
16 lines (15 loc) • 386 B
TypeScript
/**
* Contains field validation information from backend.
*/
export interface Validation {
/**
* Value set in the PetriNet model as validation.
*/
validationRule: string;
/**
* Message that should be displayed when the validation fails.
*
* If the message is empty, some default message will be displayed.
*/
validationMessage: string;
}