File tree 1 file changed +13
-14
lines changed
app/code/Magento/Checkout/Block/Checkout
1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -164,20 +164,19 @@ protected function getFieldConfig(
164
164
165
165
$ element = [
166
166
'component ' => isset ($ additionalConfig ['component ' ]) ? $ additionalConfig ['component ' ] : $ uiComponent ,
167
- 'config ' => [
168
- // customScope is used to group elements within a single form (e.g. they can be validated separately)
169
- 'customScope ' => $ dataScopePrefix ,
170
- 'customEntry ' => isset ($ additionalConfig ['config ' ]['customEntry ' ])
171
- ? $ additionalConfig ['config ' ]['customEntry ' ]
172
- : null ,
173
- 'template ' => 'ui/form/field ' ,
174
- 'elementTmpl ' => isset ($ additionalConfig ['config ' ]['elementTmpl ' ])
175
- ? $ additionalConfig ['config ' ]['elementTmpl ' ]
176
- : $ elementTemplate ,
177
- 'tooltip ' => isset ($ additionalConfig ['config ' ]['tooltip ' ])
178
- ? $ additionalConfig ['config ' ]['tooltip ' ]
179
- : null
180
- ],
167
+ 'config ' => $ this ->mergeConfigurationNode (
168
+ 'config ' ,
169
+ $ additionalConfig ,
170
+ [
171
+ 'config ' => [
172
+ // customScope is used to group elements within a single
173
+ // form (e.g. they can be validated separately)
174
+ 'customScope ' => $ dataScopePrefix ,
175
+ 'template ' => 'ui/form/field ' ,
176
+ 'elementTmpl ' => $ elementTemplate ,
177
+ ],
178
+ ]
179
+ ),
181
180
'dataScope ' => $ dataScopePrefix . '. ' . $ attributeCode ,
182
181
'label ' => $ attributeConfig ['label ' ],
183
182
'provider ' => $ providerName ,
You can’t perform that action at this time.
0 commit comments