DateTimePicker Appearance
The DateTimePicker provides predefined appearance options such as different sizes, border radiuses and fill modes.
The following example demonstrates all available appearance options of the DateTimePicker in action.
Size
The DateTimePicker allows you to set its size.
The size input supports values of type DateInputSize:
smallmedium(Default)largenone—The none option removes the built-in sizing of the DateTimePicker. Allows for custom font size and line height.
The following example demonstrates how to define the size of the DateTimePicker.
Rounded
The DateTimePicker enables you to apply different border radius to the component through the rounded property. It accepts values of type DateInputRounded.
The rounded option supports the following values:
smallmedium(default)largefullnone—The none option removes the built-in rounded of the DateTimePicker. Allows for customborder radius.
The following example demonstrates how to define the border radius of the DateTimePicker.
Fill Mode
The DateTimePicker allows you to set different fill modes by using the fillMode property. It accepts values of type DateInputFillMode.
The fillMode option supports the following values:
flat—Sets atransparent backgroundandsolid bottom border.solid(default)—Applies abackgroundcolor andsolid borders.outline—Sets atransparent backgroundandsolid borders.none—The none option removes the built-in fill mode styles of the DateTimePicker. Allows for custombackgroundandborderstyles.
The following example demonstrates how to define the fill mode of the DateTimePicker.