Show:

Methods

validate
(
  • value
  • options
  • model
  • attribute
)

Parameters:

  • value Any
  • options Object
    • allowBlank Boolean

      If true, skips validation if the value is empty

    • in Array

      The list of values this attribute could be

    • range Array

      The range in which the attribute's value should reside in

  • model Object
  • attribute String