From e3bce622e5b8dce13e2d9e51a4cc0edb8086204a Mon Sep 17 00:00:00 2001 From: Molkobain Date: Wed, 2 Feb 2022 21:29:35 +0100 Subject: [PATCH] Dashboard: Add "input" event to properties listeners for real-time updates --- js/property_field.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/property_field.js b/js/property_field.js index 6167d12b6..59ea62c68 100644 --- a/js/property_field.js +++ b/js/property_field.js @@ -35,7 +35,7 @@ $(function() { // In case there is an hidden input having the same id (somewhere else in the page), the change event does not occur unless the input loses the focus // To reduce the impact, let's handle keyup as well - $('#'+this.options.field_id, this.element).on('change.itop-property-field keyup.itop-property-field', function() { me._on_change(); }); + $('#'+this.options.field_id, this.element).on('change.itop-property-field keyup.itop-property-field input.itop-property-field', function() { me._on_change(); }); this.value = this._get_field_value(); } this.element.find(".prop_apply").on('click.itop-property-field', function() { me._do_apply(); });