ValidationRules class
Client-side hints for immediate feedback only. The server revalidates every submission, so anything not expressible here is simply omitted rather than approximated.
Constructors
Properties
- confirmed → bool
-
final
- email → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- max → num?
-
final
-
messages
→ Map<
String, String> -
Per-rule messages in the panel's locale, produced by the same translator
the server's 422 uses. Empty when the server sends none, in which case
the client falls back to its own FilamentStrings.
final
- min → num?
-
Numeric bound for
number, character length for text kinds.final - numeric → bool
-
Whether Laravel will treat this field's bounds as VALUES rather than
lengths. Published as a rule, not inferred from the node's
type:->email()->numeric()renders as an email input and validates numerically, and the two answers are independent.final -
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- regex → String?
-
final
- required → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited - url → bool
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited