isDirty
checks whether changes were made within the form
boolean isDirty();
| boolean | returns true if the data was changed |
Example
if(form.isDirty()){
if(!form.validate())
return false;
form.save();
};
Related samples
Details
With form, the method is used before data validation and saving it to the component and server.
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix
best ui framework and page of
toolbar product.