Asynchronous UI loading recursion error

Hi everyone,

There is an example in the Webix Jet docs about Asynchronous UI loading but I’m having trouble with it. I’m trying to build a form based on JSON data retrieved from an Ajax call. The idea is to only return the $ui layout after receiving the data and building the form.

I’m getting an error “Uncaught RangeError: Maximum call stack size exceeded”. Normally this happens when a function recursively calls itself but I cannot see where this is happening in my code.

Has anyone experienced this before? I’m a bit stuck.