Angular Common - utils - validationEngine

An object that serves as a namespace for the methods required to perform validation.

import validationEngine from "devextreme-angular/ui/validation-engine"

Methods

This section describes the methods exposed by the DevExpress.validationEngine namespace.

Name Description
getGroupConfig()

Gets the default validation group.

getGroupConfig(group)

Gets a validation group with a specific key.

registerModelForValidation(model)

Registers all the Validator objects extending fields of the specified ViewModel.

resetGroup()

Resets the values and validation result of the editors that belong to the default validation group.

resetGroup(group)

Resets the values and validation result of the editors that belong to the specified validation group.

unregisterModelForValidation(model)

Unregisters all the Validator objects extending fields of the specified ViewModel.

validateGroup()

Validates editors from the default validation group.

validateGroup(group)

Validates editors from a specific validation group.

validateModel(model)

Validates a view model.