Skip to content

Commit 949cf49

Browse files
author
okarpenko
committed
MAGETWO-37745: Empty First Name and Last Name customer addint new address on backend
1 parent 264c105 commit 949cf49

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/code/Magento/Customer/view/base/ui_component/customer_form.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,9 @@
303303
<item name="validation" xsi:type="array">
304304
<item name="required-entry" xsi:type="boolean">true</item>
305305
</item>
306+
<item name="imports" xsi:type="array">
307+
<item name="default" xsi:type="string">${ $.provider }:data.customer.firstname</item>
308+
</item>
306309
</item>
307310
</argument>
308311
</field>
@@ -325,6 +328,9 @@
325328
<item name="validation" xsi:type="array">
326329
<item name="required-entry" xsi:type="boolean">true</item>
327330
</item>
331+
<item name="imports" xsi:type="array">
332+
<item name="default" xsi:type="string">${ $.provider }:data.customer.lastname</item>
333+
</item>
328334
</item>
329335
</argument>
330336
</field>

0 commit comments

Comments
 (0)