Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge fix-datepicker-steps-sample-1868 into production #1869

Merged
merged 1 commit into from
Jan 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions components/datepicker/increment-steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ All values default to `1` to provide every possible option. If you set a value l
>caption Change the steps (intervals) in the date picker

````CSHTML
@selectedDateTime.ToString("yyyy MMM dd, HH:mm:ss tt")
@selectedDate.ToString("yyyy MMM dd")

<TelerikDatePicker Format="yyyy MMM dd" @bind-Value="@selectedDate" Width="250px">
<DatePickerSteps Year="10" Month="6" Day="3" />
</TelerikDateInput>
</TelerikDatePicker>

@code {
DateTime selectedDate { get; set; } = DateTime.Now;
private DateTime selectedDate { get; set; } = DateTime.Now;
}
````

Expand Down
Loading