DateTimePicker change interval issues
We set it using this method and it does indeed set the interval:
$('input[data-control="dateTimePicker"]').kendoDateTimePicker({ interval: 15 <span>});</span>
We haven't seen any errors from the portal and it snows nothing in user input.
Thank you!
Best Answer
-
seth_coussens Member Ninja IT Monkey ✭✭✭✭
$('input[data-control-bind="ScheduledStartDate"]').kendoDateTimePicker({interval:15})
Using the above (similar but more exact to yours) it sets the interval and saves the time correctly on the CR form.
I then attempted the same thing using a more generic selector on an Advanced RO and it worked there as well.
So I can't say for sure what the issue is, but I can tell you this works. Maybe share your code with how you are implementing the jQuery call?0
Answers
Using the above (similar but more exact to yours) it sets the interval and saves the time correctly on the CR form.
I then attempted the same thing using a more generic selector on an Advanced RO and it worked there as well.
So I can't say for sure what the issue is, but I can tell you this works. Maybe share your code with how you are implementing the jQuery call?
Thank you!
It seems to be altering the requirement for data validation. If we change the interval, in an offering it will save it and not apply any text. In the form it will pop up the message about the field being required. If they click inside the text box or we do a .keyup() it will accept the input, otherwise it shows no input.
This is in portal version 7.2.2012.1, it seems to be working in our dev environment running 7.3.
This initializes the control, sometimes duplicating it on top of itself, in a few cases:
$(object).kendoControlOfSomeType(options)
This sets the properties of an existing control:
$(object).data('kendoControlOfSomeType').options({foo: 'bar'})
The kendo documentation, while correct, can be misleading since most of their examples use the first syntax. They are showing you how to create controls. We need to modify controls. They do have examples of this too, but in my experience it is usually buried further within the docs.