Hi
I have created activelist view and added edit, save button. When I click on save button, multiple click events are getting fired. Can you please help me in finding where things are going wrong, here is code snippet
var article_form =
[
{ id: "title_input", view: "textarea", label: "Title", labelAlign: "left", labelPosition: "top",height:80, width: 600,placeholder: "Enter a Title",inputHeight:40 },
{ id: "add_ticker", view: "textarea", label: "Ticker", height: 80, width: 600, labelAlign: "left", labelPosition: "top", placeholder: "eg. INTC,MSFT", inputHeight: 40 },
{ id: "data_input", view: "textarea", height: 800, width: 700,label: "Post", placeholder: "Type article here",labelPosition: "top", css: "data_area" },
{
cols: [
{ id: "art_save_button", view: "button", value: "Save", width: 200, click: save_button_clicked },
{ id: "art_post_button", view: "button", value: "Post", width: 200, click: post_button_clicked }
]
}
];
article_layout_obj = webix.ui(
{
container: article_post_layout,
borderless: true,
css: "article_layout",
height:1100,
rows:
[
{ view: "form", scroll: false, width: 1000, elements: article_form }
]
});