[Bug report] multicombo crash with very specific conditions

I think i found a strange bug.

http://webix.com/snippet/fa0fe813

A multicombo crash when all theses conditions are presents :

`

  • checksuggest options is a list component
  • the list component load data from remote url
  • the multicombo is hidden
  • setValues method is called on the form that contain it to set value of an other field.
    `

When setValues called, it crash : “this->_getBox() is null”.

If the multicombo isn’t hidden, it doesn’t crash
If the list data isn’t loaded from a remote url it doesn’t crash

It also crash without setValues, if you manually set value: null in the multicombo definition

I can confirm the issue. We’ll try to fix it before the next release.
But setValues just trying to change the data - and that triggers the issue as well as the setting an initial value. To avoid any troubles in the future, please, check its API.

Was this fixed?

The fix will be included in the nearest update.

Thanks for the response. Is there a date already for this next update?

The release is scheduled for the end of next month.

If you have a support subscription, you can open a ticket in the “members area” - we will provide the fix ASAP.