From 949cf4938161549fb1438d1124be8f1e673300ac Mon Sep 17 00:00:00 2001
From: okarpenko <okarpenko@ebay.com>
Date: Fri, 26 Jun 2015 16:23:21 +0300
Subject: [PATCH] MAGETWO-37745: Empty First Name and Last Name customer addint
 new address on backend

---
 .../Customer/view/base/ui_component/customer_form.xml       | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/app/code/Magento/Customer/view/base/ui_component/customer_form.xml b/app/code/Magento/Customer/view/base/ui_component/customer_form.xml
index 21762022d84..8bf281411f8 100644
--- a/app/code/Magento/Customer/view/base/ui_component/customer_form.xml
+++ b/app/code/Magento/Customer/view/base/ui_component/customer_form.xml
@@ -303,6 +303,9 @@
                     <item name="validation" xsi:type="array">
                         <item name="required-entry" xsi:type="boolean">true</item>
                     </item>
+                    <item name="imports" xsi:type="array">
+                        <item name="default" xsi:type="string">${ $.provider }:data.customer.firstname</item>
+                    </item>
                 </item>
             </argument>
         </field>
@@ -325,6 +328,9 @@
                     <item name="validation" xsi:type="array">
                         <item name="required-entry" xsi:type="boolean">true</item>
                     </item>
+                    <item name="imports" xsi:type="array">
+                        <item name="default" xsi:type="string">${ $.provider }:data.customer.lastname</item>
+                    </item>
                 </item>
             </argument>
         </field>
-- 
GitLab