Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 469 Bytes

Country.md

File metadata and controls

20 lines (14 loc) · 469 Bytes

Country

Validates that a value is a valid ISO 3166-1 alpha-2, alpha-3 and numeric country code.

Options

message

type: string default: This value is not a valid country.

Parameter Description
{{ value }} The current (invalid) value
mode

type: string default: alpha2 Current validation mode.

Available modes are:

  • alpha2
  • alpha3
  • numeric