Date field with Kendo template incorrect value through FD field method
- chris.cook
- Posts: 20
- Joined: Wed May 31, 2017
Using a Kendo UI based date field gives me incorrect and illogical results when calling it using this syntax.
When the field is initially empty, it returns null. When calling it again inside the 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 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 is called.
This is a big issue for the form I am creating.
Code: Select all
fd.field('CompletionDate').value();
When the field is initially empty, it returns null. When calling it again inside the
Code: Select all
fd.field('CompletionDate').change()
Code: Select all
fd.field('CompletionDate').value()
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()
This is a big issue for the form I am creating.
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 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.
We'll look further into it and try to fix this issue ASAP.
Cheers
- Nikita Kurguzov
- Posts: 889
- Joined: Mon Jul 03, 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
-
- Information
-
Who is online
Users browsing this forum: No registered users and 4 guests