# DateInput Typing

You can control the parameters, which affect the typing user experience in the DateInput.

## Allow Caret Mode

Setting the [`allowCaretMode`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/dateinputcomponent#allowcaretmode) option to `true` will show a blinking caret inside the DateInput, either when a date segment is partially complete, or when [`autoSwitchParts`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/dateinputcomponent#autoswitchparts) is `false`. By default the `allowCaretMode` is set to `false`.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dateinputs/dateinput/typing/caret-mode/source.txt)

## Auto Correct Parts

The DateInput component automatically corrects the date segments when an invalid value is entered in the currently edited part. For example, if the value is `January 31` and the user changes the month to `February`, the component will autocorrect the day to `28`. By default, this functionality is enabled. To disable it, set the [`autoCorrectParts`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/dateinputcomponent#autocorrectparts) option to `false`.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dateinputs/dateinput/typing/auto-correct-parts/source.txt)

## Auto Switch Parts

By default, the DateInput automatically moves to the next date segment after you enter a valid value in the current one. This lets you enter consecutive segments without typing the separators shown in the format. To disable this behavior, set [`autoSwitchParts`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/dateinputcomponent#autoswitchparts) to `false`.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dateinputs/dateinput/typing/auto-switch-parts/source.txt)

## Auto Switch Keys

You can configure the keys that can be used to move to the next segment. The example below demonstrates how different keys can be added in the [`autoSwitchKeys`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/dateinputcomponent#autoswitchkeys) array.

> The left and right arrows always change the focused segment, regardless of this parameter value.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dateinputs/dateinput/typing/auto-switch-keys/source.txt)

## Enable Mouse Wheel

By default when a segment is selected its value can be increased or decreased using the mouse wheel. This behavior can be disabled by setting the [`enableMouseWheel`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/dateinputcomponent#enablemousewheel) option to `false`.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dateinputs/dateinput/typing/mouse-wheel/source.txt)

## Auto-fill

Setting the [`autoFill`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/dateinputcomponent#autofill) option to `true` will autofill the rest of the date to the current date when the component loses focus. For example, if the user enters only the day, month, or year and blurs the component, the DateInput fills the missing parts with the current date.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dateinputs/dateinput/typing/auto-fill/source.txt)

## Suggested Links

* [API Reference of the DateInput](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/dateinputcomponent)
