Date field with Kendo template incorrect value through FD field method

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
User avatar
chris.cook
Posts: 20
Joined: Wed May 31, 2017

06 Jul 2017

Using a Kendo UI based date field gives me incorrect and illogical results when calling it using

Code: Select all

fd.field('CompletionDate').value();
this syntax.

When the field is initially empty, it returns null. When calling it again inside the

Code: Select all

fd.field('CompletionDate').change()
function, once it has been chosen using the calendar UI, it will still display null. The following time, regardless of whether I change the date or remove it, the result of

Code: Select all

fd.field('CompletionDate').value()
is the initial date I chose.

The field value therefore seems offset by 1 change event. It could be caused by the .change() function being called before kendo UI has a chance to update wherever .value() is looking. I can see that it is referencing input.plumsail-fd-kendodatepicker which might not be being updated until after

Code: Select all

fd.field('CompletionDate').change()
is called.

This is a big issue for the form I am creating.

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

06 Jul 2017

Thank you for bringing that up, Chris. We have tested this issue and can confirm that this in fact happens.
We'll look further into it and try to fix this issue ASAP.
Cheers

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

07 Jul 2017

Chris, our developers have looked into this and applied a fix. It should work as intended now. Please try it and tell us of the result.
Cheers

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests