diff --git a/admin/core/um-admin-metabox.php b/admin/core/um-admin-metabox.php
index 2e0cc98d..bac4ed15 100644
--- a/admin/core/um-admin-metabox.php
+++ b/admin/core/um-admin-metabox.php
@@ -1509,13 +1509,37 @@ class UM_Admin_Metabox {
case '_custom_dropdown_options_source':
?>
-
';
+
if ( isset( $data['allowclear'] ) && $data['allowclear'] == 0 ) {
$class = 'um-s2';
} else {
@@ -1675,20 +1689,59 @@ class UM_Fields {
}
$output .= '
';
+
+ $has_parent_option = false;
+ $disabled_by_parent_option = '';
+ $atts_ajax = '';
+ $select_original_option_value = '';
+
+ if( isset( $data['parent_dropdown_relationship'] ) && ! empty( $data['parent_dropdown_relationship'] ) && ! $ultimatemember->user->preview ){
+
+ $disabled_by_parent_option = 'disabled = disabled';
+
+ $has_parent_option = true;
+
+ $parent_dropdown_relationship = apply_filters("um_custom_dropdown_options_parent__{$form_key}", $data['parent_dropdown_relationship'], $data );
+ $atts_ajax .= " data-um-parent='{$parent_dropdown_relationship}' ";
- $output .= '