Form Field Time Input

A pre-composed form field that wraps a Time Input control with automatic label, helper text, and error message display. Inherits from FormFieldBase for EditContext integration, generated control IDs and ARIA wiring.

Default

The wrapper generates the control id and points the label's for at the Hour segment. See Time Input for the segment behaviour, the AM/PM select and the clock popup.

Clock Button, Format and Bounds

The wrapper defaults ShowPicker to false, unlike the bare control. Format overrides the culture's 12/24-hour choice, and MinuteStep sets both the arrow-key increment and the popup's minute options.

Seconds, Read-Only and Error

ShowSeconds adds a third segment. ErrorText makes the field invalid and hides the helper text — use it for validation that happens outside an EditForm.

EditForm Validation

Messages from DataAnnotationsValidator land in the error slot. The control adds its own message for a partial or out-of-range time, so an incomplete entry blocks the submit rather than posting silently as null.