Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Defines that value of field must be in range definied by options.

Common Attributes

...

Attributes

name

type

required

default value

description

from

string

no

none

Minimum value.

to

string

no

none

Maximum value.

exclusively

boolean

no

false

If 'false', when the value is same as 'from' or 'to', validator will accept.

message

string

no

none

Message that will be displayed in case of error.

...