File

projects/netgrif-components-core/src/lib/data-fields/models/validation.ts

Description

Contains field validation information from backend.

Index

Properties

Properties

validationMessage
validationMessage: string
Type : string

Message that should be displayed when the validation fails.

If the message is empty, some default message will be displayed.

validationRule
validationRule: string
Type : string

Value set in the PetriNet model as validation.

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;
}

result-matching ""

    No results matching ""