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 @@ -168,20 +168,19 @@ protected function getFieldConfig(
168
168
169
169
$ element = [
170
170
'component ' => isset ($ additionalConfig ['component ' ]) ? $ additionalConfig ['component ' ] : $ uiComponent ,
171
- 'config ' => [
172
- // customScope is used to group elements within a single form (e.g. they can be validated separately)
173
- 'customScope ' => $ dataScopePrefix ,
174
- 'customEntry ' => isset ($ additionalConfig ['config ' ]['customEntry ' ])
175
- ? $ additionalConfig ['config ' ]['customEntry ' ]
176
- : null ,
177
- 'template ' => 'ui/form/field ' ,
178
- 'elementTmpl ' => isset ($ additionalConfig ['config ' ]['elementTmpl ' ])
179
- ? $ additionalConfig ['config ' ]['elementTmpl ' ]
180
- : $ elementTemplate ,
181
- 'tooltip ' => isset ($ additionalConfig ['config ' ]['tooltip ' ])
182
- ? $ additionalConfig ['config ' ]['tooltip ' ]
183
- : null
184
- ],
171
+ 'config ' => $ this ->mergeConfigurationNode (
172
+ 'config ' ,
173
+ $ additionalConfig ,
174
+ [
175
+ 'config ' => [
176
+ // customScope is used to group elements within a single
177
+ // form (e.g. they can be validated separately)
178
+ 'customScope ' => $ dataScopePrefix ,
179
+ 'template ' => 'ui/form/field ' ,
180
+ 'elementTmpl ' => $ elementTemplate ,
181
+ ],
182
+ ]
183
+ ),
185
184
'dataScope ' => $ dataScopePrefix . '. ' . $ attributeCode ,
186
185
'label ' => $ attributeConfig ['label ' ],
187
186
'provider ' => $ providerName ,
You can’t perform that action at this time.
0 commit comments