Skip to content

Conversation

@arman-boyakhchyan
Copy link
Contributor

No description provided.

- When an item [template](/api-reference/10%20UI%20Components/dxForm/5%20Item%20Types/SimpleItem/template.md '/Documentation/ApiReference/UI_Components/dxForm/Item_Types/SimpleItem/#template') is configured, do not specify this property. Configure a [Validator](/Documentation/ApiReference/UI_Components/dxValidator/) within the template and specify **Validator**.[validationRules](/Documentation/ApiReference/UI_Components/dxValidator/Configuration/#validationRules) instead.
- The Form is repainted when you update **validationRules** as follows:
- When you add or remove [RequiredRule](/Documentation/ApiReference/UI_Components/dxValidator/Validation_Rules/RequiredRule/).
- When you set **validationRules** to empty or add a rule to an empty **validationRules**.
Copy link
Contributor

@albertov05 albertov05 Dec 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For my understanding, when you say "empty", are you actually setting validationRules to an option called empty?
Or are you setting validationRules to an empty array like []?

If it's the latter, could we say something like:

- When you set **validationRules** to an empty array or add a rule to an empty **validationRules** array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants