# DateInput Placeholders

For its input field, the DateInput enables you to [render a text hint](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/dateinput/placeholders#text-hints), [specify a floating label](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/dateinput/placeholders#floating-labels), and to [provide descriptions for its format sections](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/dateinput/placeholders#format-sections-description).

## Text Hints

When the value of the DateInput is `null`, you can specify a text hint for its input field by setting the [`placeholder`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/dateinputcomponent#placeholder) option of the component.

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

## Floating Labels

You can specify a floating label for the input field by wrapping the DateInput into a [`kendo-floatinglabel`](https://www.telerik.com/kendo-angular-ui-develop/components/labels/floatinglabel) element and setting its [`text`](https://www.telerik.com/kendo-angular-ui-develop/components/labels/api/floatinglabelcomponent#text) attribute property to a string. Also, to disable the default date mask of DateInput when no value is present, set its [`placeholder`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/dateinputcomponent#placeholder) value to an empty string.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dateinputs/dateinput/placeholders/floating-label/source.txt)

## Format Sections Description

The [`formatPlaceholder`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/dateinputcomponent#formatplaceholder) option enables you to set the way the format sections of the input field are rendered. For example, whether the month input is prompted as `month` or `MM`.

The `formatPlaceholder` provides the following available options which you can set:

* `'wide'`—Displays the full description of the format section. For example, turns `MM` into `month`. Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
* `'narrow'`—Displays the narrow description of the format section. Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
* `'short'`—Displays the short description of the format section. For example, turns `MM` into `mo.`. Retrieved from [CLDR](https://github.com/telerik/kendo-intl/blob/develop/docs/cldr/index.md).
* `'formatPattern'`—Directly displays the format section. For example, turns `MM` into `MM`.
* [`CustomFormatPlaceholder`](https://www.telerik.com/kendo-angular-ui-develop/components/dateinputs/api/dateinputcustomformatplaceholder)—An object that defines the description of the format sections. For example, `{ day: 'd.', month: 'M.', year: 'y', hour: 'h.' }`.

[Demo Source](https://demos.telerik.com/kendo-angular-ui/demos/dateinputs/dateinput/placeholders/format-selection/source.txt)

## Suggested Links

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