Search Results: wegh edit

dxValidator Methods

Reference
This section describes members used to manipulate the UI component.

Call Methods Angular Call Methods Vue Call Methods React Call Methods focus() Sets focus to the editor associated with the current Validator object. getInstance(element) Gets the instance... Methods React Call Methods reset() Resets the value and validation result of the editor associated with the current Validator object. resetOption(optionName) Resets a property to its default value

dxValidator Validation Rules

Reference
This section lists validation rules that can be used within the dxValidator.

. View Demo See Also Data Validation CompareRule A validation rule that demands that a validated editor has a value that is equal to a specified expression. To specify... RequiredRule A validation rule that demands that a validated field has a value. Use this rule type to ensure the target editor value is specified. The rule will be broken in the following cases

dxValidator AsyncRule

Reference
A custom validation rule that is checked asynchronously. Use async rules for server-side validation.

message="" /> </Validator> </TextBox> ); } } export default App; Display the editor's name in the message jQuery

dxValidator CustomRule

Reference
A rule with custom validation logic.

message="" /> </Validator> </TextBox> ); } } export default App; Display the editor's name in the message jQuery index.js $(function... the rule should be always checked for the target value or only when the target value changes. If you set this property to false, the rule is checked only when you change an editor's value. If you enter

dxValidator EmailRule

Reference
A validation rule that requires that the validated field match the Email pattern.

message="" /> </Validator> </TextBox> ); } } export default App; Display the editor's name in the message jQuery index.js