LSformElement JS : fire change event on input field cleared

This commit is contained in:
Benjamin Renard 2020-07-24 11:16:22 +02:00
parent 6c0324bcc4
commit 7eac609bd9

View file

@ -36,6 +36,7 @@ var LSformElement_field = new Class({
clearValue: function() {
if ($type(this.getFormField())) {
this.getFormField().value='';
this.getFormField().fireEvent('change');
}
varLSform.clearFieldValue(this.field_name);
},