EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: patana on May 09, 2016, 08:12:16 PM



Title: Problem with form onchange
Post by: patana on May 09, 2016, 08:12:16 PM
In my form i have a few fields included one field to store number with easyui-numberbox.
I have datagrid to view, add and edit data.
So the problem is when i try to edit data by double click on row or click edit button, it fire the onchange form.
Actually, to show data on form, i use $('#fm').form('load', row)
I use console.log(target), and see only easyui-numberbox field recorded.


Title: Re: Problem with form onchange
Post by: jarry on May 10, 2016, 05:23:34 PM
The 'load' method use the native 'val()' to set the non-textbox fields. This does not trigger the 'onchange' event. Please use the 'textbox' field instead.