diff --git a/ui/scripts/ui/dialog.js b/ui/scripts/ui/dialog.js index f7946dc8a95..332b78f775c 100644 --- a/ui/scripts/ui/dialog.js +++ b/ui/scripts/ui/dialog.js @@ -237,7 +237,10 @@ if (($target.is(':checked') && !isReverse) || ($target.is(':unchecked') && isReverse)) { - $dependent.css('display', 'inline-block'); + + $dependent.css('display', 'inline-block'); //show dependent dropdown field + $dependent.change(); //trigger event handler for default option in dependent dropdown field (CLOUDSTACK-7826) + $dependent.each(function() { if ($(this).data('dialog-select-fn')) { $(this).data('dialog-select-fn')();