DateRangeStartInputDirective
Represents a directive that manages the start selection range for date range inputs.
You can use the DateRangeStartInputDirective only with a DateInput component.
Definition
Package:@progress/kendo-angular-dateinputs
Selector:[kendoDateRangeStartInput]
Syntax:
@Component({
selector: 'my-app',
template: `
<kendo-daterange>
<kendo-dateinput kendoDateRangeStartInput [(value)]="startDate"></kendo-dateinput>
<kendo-dateinput kendoDateRangeEndInput [(value)]="endDate"></kendo-dateinput>
</kendo-daterange>
`
})
export class AppComponent {
public startDate: Date = new Date();
public endDate: Date = new Date();
}
Inputs
Specifies when the component automatically corrects invalid date ranges. When the start date is greater than the end date, the component fixes the range to a single date either on input change or on blur (see example).
By default, the component does not perform any auto-correction.
navigateCalendarOnFocus
boolean
Determines how the calendar navigates when you focus on the input.
When you set navigateCalendarOnFocus to true, the calendar moves to the value of the focused input.
When you set it to false, the calendar shows the last selected date.
false