Skip to content

Commit

Permalink
Merge pull request #7968 from dgvirtual/add_setRules_warning
Browse files Browse the repository at this point in the history
Add note that setRules() overwrites any previously set rules
  • Loading branch information
kenjis authored Sep 25, 2023
2 parents 79ae14f + 2809b1e commit ebf7bc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions user_guide_src/source/libraries/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@ To give a labeled error message you can set up as:

.. _validation-withrequest:

.. note:: ``setRules()`` will overwrite any rules that were set previously. To add more than one
rule to an existing set of rules, use ``setRule()`` multiple times.

Setting Rules for Array Data
============================

Expand Down

0 comments on commit ebf7bc6

Please sign in to comment.