You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: validation.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -916,6 +916,7 @@ Below is a list of all available validation rules and their function:
916
916
[JSON](#rule-json)
917
917
[Less Than](#rule-lt)
918
918
[Less Than Or Equal](#rule-lte)
919
+
[List](#rule-list)
919
920
[Lowercase](#rule-lowercase)
920
921
[MAC Address](#rule-mac)
921
922
[Max](#rule-max)
@@ -1471,6 +1472,11 @@ The field under validation must be less than or equal to the given _field_. The
1471
1472
1472
1473
The field under validation must be lowercase.
1473
1474
1475
+
<aname="rule-list"></a>
1476
+
#### list
1477
+
1478
+
The field under validation must be an array that is a list. An array is considered a list if its keys consist of consecutive numbers from 0 to `count($array) - 1`.
0 commit comments