allFocusable? | boolean | false | Whether disabled elements should remain focusable. |
allowClear? | boolean | true | Whether the user can clear the field with a dedicated button. |
allowTextInput? | boolean | false | Whether text input is allowed in the display field. |
ariaLabel? | string | - | Aria label for the trigger button. |
borderless? | boolean | false | Removes the border from the trigger TextField. Mirrors Fluent UI DatePicker's borderless. |
dateTimeFormatter? | IDateFormatting | - | Advanced date formatting hook forwarded to the underlying Fluent UI Calendar. |
disabled? | boolean | false | Whether the component is disabled. |
errorMessage? | string | - | Optional error message displayed below the field. |
firstDayOfWeek? | DayOfWeek | DayOfWeek.Sunday | First day of the week displayed in the calendar. |
firstWeekOfYear? | FirstWeekOfYear | FirstWeekOfYear.FirstDay | Defines which week is considered the first week of the year. |
highlightCurrentMonth? | boolean | false | Whether the calendar should highlight the current month in the month picker. |
highlightSelectedMonth? | boolean | true | Whether the calendar should highlight the selected month in the month picker. |
id? | string | - | Optional id applied to the root of the TextField (useful for label association in forms). |
initialPickerDate? | Date | - | The date initially highlighted in the calendar when the popup opens for the first time and no value is set. |
isMonthPickerVisible? | boolean | true | Whether the month picker is shown beside the day picker or hidden. |
label? | string | - | Label rendered above the field. |
maxDate? | Date | - | Maximum selectable date (time is ignored for boundary checks). |
minDate? | Date | - | Minimum selectable date (time is ignored for boundary checks). |
minuteStep? | number | 1 | Step (in minutes) applied by the minutes field. |
openOnClick? | boolean | true | Whether the popup should open when the user clicks the input. Set to false to only open via the trigger icon. |
pickerAriaLabel? | string | - | Aria label used for the popup (calendar). |
placeholder? | string | 'Select date & time...' | Placeholder text displayed when the field is empty. |
required? | boolean | false | Whether the field is required (adds the Fluent UI required marker). |
showCloseButton? | boolean | - | Whether the calendar day close button should be shown. |
showGoToToday? | boolean | false | Whether the "Go to today" link should be shown in the calendar. |
showMonthPickerAsOverlay? | boolean | false | Show the month picker as an overlay on top of the day picker. |
showTime? | boolean | true | Whether to show the time portion. |
showWeekNumbers? | boolean | false | Whether the calendar should show week numbers before each row. |
strings? | ICalendarStrings | - | Localized strings forwarded to the calendar. |
tabIndex? | number | - | Tab index applied to the trigger TextField. |
textFieldStyles? | IDateTimePickerTextFieldStyles | - | Custom styles applied to the display TextField. |
timeFormat? | TimeFormat | TimeFormat.H24 | Time format used inside the popup and for the display text. |
today? | Date | - | Value used as "today" inside the calendar — defaults to the current machine time when omitted. |
underlined? | boolean | false | Renders the trigger TextField with the underlined variant. Mirrors Fluent UI DatePicker's underlined. |
value? | Date | - | Current date/time value. null or undefined leaves the input empty. |
width? | string | number | - | Width applied to the display field (CSS string or number of pixels). |