Forms
Date-Time Input
A native local date and time input without implicit timezone conversion.
idle
Usage
Examples
Release schedule
Local time for the Product team workspace.
Control states
Recommendations
| Guidance | Practice |
|---|---|
| Do | Show the intended timezone beside local date and time entry. Preserve the user's entered value on validation failure. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | The control does not perform timezone conversion. The application resolves ambiguous or nonexistent local times. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | undefined | Local value in YYYY-MM-DDTHH:mm[:ss] format. Empty string clears the control; no implicit time zone. |
| | undefined | Native lower and upper bounds in the same format as value. |
| | 60 | Native step in seconds. Use 1 for second precision or 900 for 15-minute intervals. |
| | "default" | Uses the existing Input metrics and appearance. |
| | undefined | Receives the local string value and cancellable Base UI change details. |
| | undefined | Native form and Field behavior. Controlled values remain owned by the caller. |