Error too much recursion
Possible causes or solutions ?
Can you provide a snippet of the problematic code or at least more information?
I have two pages that recall the same details .
If I call the page 1 , then page 2 the detail you see no problems .
When I return to the first page you do not display more detail and it always fails .
I hope to have been clear .
A wrong event handler can cause this issue. How exactly do you call the ‘details’?
Snippet still can be very useful.
function (personalInfo, generalInfo) {
return {
Get: function(){
var form_id = webix.uid();
var PersonalInfoConfig = personalInfo.Get();
var GeneralInfoConfig = generalInfo.Get();
var config = {
view: "form",
id: form_id,
rows: [
PersonalInfoConfig,
GeneralInfoConfig
]
};
return config;
}
};
});
page 1
{
view: "button",
type: "iconButton",
icon: "plus",
label: "Modifica i dati",
width: 170,
click: function () {
modalEntities.show()
}
},
page 2
modalEntities contain GeneralInfoConfig that i call on page 1
In this case, it may be the data collision. As you calling GeneralInfoConfig on both pages, try to return ‘webix.copy(config)’
Here’s api: http://docs.webix.com/api___copy.html