diff --git a/inc/fields/dropdownfield.class.php b/inc/fields/dropdownfield.class.php index 999cd1f8c..002e802ed 100644 --- a/inc/fields/dropdownfield.class.php +++ b/inc/fields/dropdownfield.class.php @@ -80,6 +80,10 @@ public function displayField($canEdit = true) { jQuery("#dropdown_formcreator_field_' . $this->fields['id'] . $rand . '").on("select2-selecting", function(e) { formcreatorChangeValueOf (' . $this->fields['id']. ', e.val); }); + var field = $("#dropdown_formcreator_field_' . $this->fields['id'] . $rand . '"); + field.on("change", function(e) { + formcreatorChangeValueOf (' . $this->fields['id']. ', e.target.value); + }); }); '; } else {