Hi Gerhard,
Greetings from Syncfusion support.
You can set the step dynamically by affecting the variable directly as mentioned code snippet,
|
<EjsTimePicker Value="@TimeValue" Step=@stepValue Format="HH:mm"></EjsTimePicker>
<button @onclick="@increaseValue">Update Step</button>
@code {
public DateTime TimeValue { get; set; } = DateTime.Now;
public int stepValue { get; set; } = 15;
public void increaseValue()
{
stepValue = 60;
}
} |
Please find the sample below,
Regards,
Sevvandhi N