TimeConfig

Configure validation based on relational operators (likely used with other configs), with optional field name, value, and flag for array control.

The TimeConfig interface extends the BaseValidatorConfig interface to provide a basic configuration option for time validation. It allows you to specify whether seconds should be allowed in the user-entered time value.

Inheritence

Properties:

  • allowSeconds (Optional): A boolean flag indicating whether seconds should be allowed in the time format. Defaults to false.

Inherits all properties from BaseValidatorConfig (e.g., message, messageKey, and potentially conditionalExpression depending on the library implementation).