I'm trying to add field dependency with two custom fields added to admin customer form by extending
customer_form.xml in local extension.
Here is one answer
Dependency in admin form field in magento 2, but for default admin from is not ui component.
Can it be done with just XML ?