Kendo DateTime Picker Default Value Change?

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
YumaIT
Posts: 18
Joined: Tue Oct 02, 2018

14 Oct 2018

How do I change the default time intervals from 30 minutes to 1 minute intervals when using the Kendo DateTime pickers?

User avatar
AlexZver
Posts: 232
Joined: Mon Aug 27, 2018

15 Oct 2018

Hi!

Please, use this code:

Code: Select all

fd.field('InternalNameDateTime').control('kendoDateTimePicker')
	.done(function(picker) {
		picker.setOptions({interval: 1});
});
Notice that 'InternalNameDateTime' is an internal name of your field.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 20 guests