New to Kendo UI for Angular? Start a free 30-day trial

DateInputCustomFormatPlaceholder

The interface which defines a custom-format placeholder structure in the DateInput component.

@Component({
selector: 'my-app',
template: `
   <kendo-dateinput format="G"
     [formatPlaceholder]="{
       year: 'y', month: 'M', day: 'd',
       hour: 'h', minute: 'm', second: 's'
     }"
   ></kendo-dateinput>
`
})
export class AppComponent { }

day

string

Defines the description for the day format section.

hour

string

Defines the description for the hour format section.

minute

string

Defines the description for the minute format section.

month

string

Defines the description for the month format section.

second

string

Defines the description for the second format section.

year

string

Defines the description for the year format section.

In this article

Not finding the help you need?