Skip to content

Commit a725912

Browse files
docs(datepicker): fix steps article sample (#1868)
1 parent b38952b commit a725912

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/datepicker/increment-steps.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ All values default to `1` to provide every possible option. If you set a value l
2424
>caption Change the steps (intervals) in the date picker
2525
2626
````CSHTML
27-
@selectedDateTime.ToString("yyyy MMM dd, HH:mm:ss tt")
27+
@selectedDate.ToString("yyyy MMM dd")
2828
2929
<TelerikDatePicker Format="yyyy MMM dd" @bind-Value="@selectedDate" Width="250px">
3030
<DatePickerSteps Year="10" Month="6" Day="3" />
31-
</TelerikDateInput>
31+
</TelerikDatePicker>
3232
3333
@code {
34-
DateTime selectedDate { get; set; } = DateTime.Now;
34+
private DateTime selectedDate { get; set; } = DateTime.Now;
3535
}
3636
````
3737

0 commit comments

Comments
 (0)