Im fairly new to webix and i might be missing something but…
so i have a simple button with code
var button1 = { view:“button” ,
id:“stand” ,
label:“Standard” ,
on:{ onItemClick: function(id , e , node){ alert(“this is alert” );} }
};
webix.ui({
container:"testdiv",
cols:[
button1
]
});
there is a div inside the body with the id=“testdiv”
but when i click on the button the function is fired twice
ive tried e.stopPropagation(); and e.preventDefault();
nothing works , it always fires twice.
any idea on why it might happen and how to solve this issue?