jQuery/JS Common - utils - validationEngine
import validationEngine from "devextreme/ui/validation_engine"
Methods
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. |
Feedback