Impossible to sync ranges on complexData forms

Hi,

I have multiple forms with same params.
I have troubles to sync values with complexData forms, specialy with dateranges.

https://snippet.webix.com/de4hdz0g

How to sync form1 values to other forms? ( setValues seems not running) ?

thxs

Hello,

Yep, it’s a bug. Form works incorrectly with a daterangepicker if using complexData. We will fix it. Thank you for the report.
As for now, it’s only possible to set the value directly to the input or like this form.elements["daterangepicker"].setValue()

you’re welcome
does it will be fixed soon?

We will add a fix into the next version, but if you need it ASAP and have a support subscription, please contact support@webix.com.

Hello,

After investigating a bit into this issue, we can see that there cannot be a quick and simple solution for this use case.

As a temporary solution, you can get rid of complexData and collect/set the form values with custom methods. Or modify the collapseNames method of the CodeParser module so that it will not collapse the object returned by the daterangepicker: Code Snippet

Anyway, we will try to work out a stable solution for such object values till the next major release (end of February).

NOT fixed in the new release … :frowning:

Hello,

Sorry for the delay. The fix is likely to appear in the next April release.

@crisalidGuillaume

Please check the 6.2.1 build, the fix is already available: https://docs.webix.com/desktop__whats_new_6_2_x.html

thanks