The direction attribute of the control.
Makes the control a disabled field.
Format to display the value in when not editing. Defaults to the input format if not set.
display-format
Controls the validity of the control.
The label for the control.
The locale settings used to display the value.
The maximum value required for the input to remain valid.
max-value
The minimum value required for the input to remain valid.
min-value
The name attribute of the control.
Whether the control will have outlined appearance.
The placeholder attribute of the control.
The prompt symbol to use for unfilled parts of the mask.
Makes the control a readonly field.
Makes the control a required field.
Determines the size of the component.
Delta values used to increment or decrement each date part on step actions.
All values default to 1
.
Sets whether to loop over the currently spun segment.
spin-loop
Static
Readonly
tagThe date format to apply on the input.
input-format
The value of the input.
Optional
eventInitDict: CustomEventInit<D>Optional
eventInitDict: CustomEventInit<D>
A date time input is an input field that lets you set and edit the date and time in a chosen input element using customizable display and input formats.
Element
igc-date-time-input
Slot
prefix - Renders content before the input.
Slot
suffix - Renders content after input.
Slot
helper-text - Renders content below the input.
Fires
igcInput - Emitted when the control input receives user input.
Fires
igcChange - Emitted when the control's checked state changes.
Fires
igcFocus - Emitted when the control gains focus.
Fires
igcBlur - Emitted when the control loses focus.
Csspart
container - The main wrapper that holds all main input elements.
Csspart
input - The native input element.
Csspart
label - The native label element.
Csspart
prefix - The prefix wrapper.
Csspart
suffix - The suffix wrapper.
Csspart
helper-text - The helper text wrapper.