https://snippet.webix.com/v5q11mxm
as CodeSnippet shows - 7.1 introduced this strange behaviour
Hi, @keson
try not to re-use the same config.
instead use its copy as webix.copy(config)
https://snippet.webix.com/o2dpqa2f
@integral, after some testing i’ve found, that webix.copy in some programs (50/50) gives me:
Attempt to copy object with self reference
and
Uncaught RangeError: Maximum call stack size exceeded
@keson
it usually appears when complex objects like DataCollection
are used in config.
this is a limitation (bug?) of webix.copy
if you have to use such complex objects then try to use own copy method or third party libs
https://snippet.webix.com/mimjw066
@integral in my case all data sources specified outside of window(form(control)) definition, fi:
{ view:"combo", options:{data:data_source
have to be replaced with
{view:"combo", options:{ body:{url:function(text){this.parse(webix.ajax("url"}}));}}}
but i found simpler solution for main problem: define patterned fields in proto:
https://snippet.webix.com/mwvnfdda