Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "src/validators/required"

Index

Functions

Functions

required

  • Validates that the specified value is filled (i.e. not blank).

    example
    useForm(({ required }) => ({
      passwordConfirmation: [required()]
    }));

    Type parameters

    • Params

    Parameters

    Returns Validator<Params>

    The validation object.

Generated using TypeDoc